This is a note to let you know that I've just added the patch titled crypto: tegra - Remove an incorrect iommu_fwspec_free() call in tegra_se_remove() to the 6.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: crypto-tegra-remove-an-incorrect-iommu_fwspec_free-c.patch and it can be found in the queue-6.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit de5a9d7e1c5d6db57f13dfa994b411c2373034bc Author: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> Date: Sat May 25 17:14:35 2024 +0200 crypto: tegra - Remove an incorrect iommu_fwspec_free() call in tegra_se_remove() [ Upstream commit 8d7c52cb4184d3dc26dde62b4f5acd48de0768ae ] The only iommu function call in this driver is a tegra_dev_iommu_get_stream_id() which does not allocate anything and does not take any reference. So there is no point in calling iommu_fwspec_free() in the remove function. Remove this incorrect function call. Fixes: 0880bb3b00c8 ("crypto: tegra - Add Tegra Security Engine driver") Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> Tested-by: Akhil R <akhilrajeev@xxxxxxxxxx> Acked-by: Akhil R <akhilrajeev@xxxxxxxxxx> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/drivers/crypto/tegra/tegra-se-main.c b/drivers/crypto/tegra/tegra-se-main.c index 9955874b3dc37..f94c0331b148c 100644 --- a/drivers/crypto/tegra/tegra-se-main.c +++ b/drivers/crypto/tegra/tegra-se-main.c @@ -326,7 +326,6 @@ static void tegra_se_remove(struct platform_device *pdev) crypto_engine_stop(se->engine); crypto_engine_exit(se->engine); - iommu_fwspec_free(se->dev); host1x_client_unregister(&se->client); }