kernel_samsung_a53x/drivers/iommu/amd
Kun(llfl) fbe242c90d iommu/amd: Fix sysfs leak in iommu init
[ Upstream commit a295ec52c8624883885396fde7b4df1a179627c3 ]

During the iommu initialization, iommu_init_pci() adds sysfs nodes.
However, these nodes aren't remove in free_iommu_resources() subsequently.

Fixes: 39ab9555c241 ("iommu: Add sysfs bindings for struct iommu_device")
Signed-off-by: Kun(llfl) <llfl@linux.alibaba.com>
Reviewed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/c8e0d11c6ab1ee48299c288009cf9c5dae07b42d.1715215003.git.llfl@linux.alibaba.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:03 +01:00
..
amd_iommu.h
amd_iommu_types.h iommu/amd: Introduce pci segment structure 2024-11-19 14:19:03 +01:00
debugfs.c
init.c iommu/amd: Fix sysfs leak in iommu init 2024-11-19 14:19:03 +01:00
iommu.c
iommu_v2.c
Kconfig
Makefile
quirks.c