linux-stable/drivers/iommu/amd
Kun(llfl) c344d70307 iommu/amd: Fix sysfs leak in iommu init
[ Upstream commit a295ec52c8 ]

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

Fixes: 39ab9555c2 ("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-06-21 14:38:30 +02:00
..
amd_iommu.h iommu/amd: Remove unused declarations 2023-08-17 12:58:24 +02:00
amd_iommu_types.h iommu/amd: Rearrange DTE bit definations 2023-08-08 08:30:19 +02:00
debugfs.c
init.c iommu/amd: Fix sysfs leak in iommu init 2024-06-21 14:38:30 +02:00
io_pgtable.c iommu/amd: Use page mode macros in fetch_pte() 2023-05-22 17:17:41 +02:00
io_pgtable_v2.c iommu/amd: Update copyright notice 2023-05-22 17:20:50 +02:00
iommu.c IOMMU Updates for Linux v6.6 2023-09-01 16:54:25 -07:00
iommu_v2.c IOMMU Updates for Linux v6.6 2023-09-01 16:54:25 -07:00
Kconfig iommu/dma: Clean up Kconfig 2022-09-07 14:46:59 +02:00
Makefile iommu/amd: Initial support for AMD IOMMU v2 page table 2022-09-07 16:12:35 +02:00
quirks.c iommu/amd: Include PCI segment ID when initialize IOMMU 2022-07-07 09:37:51 +02:00