summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2023-06-06 03:59:46 +0300
committerJoerg Roedel <jroedel@suse.de>2023-07-14 17:14:15 +0300
commitcfb6ee65f7603a0605fa8f5fe5b0782f0731c81c (patch)
tree5bf30c845d0cab97799a8b34d867f0488f2fba72 /tools/perf/scripts/python/syscall-counts.py
parent9a108996b5b39c8b7b4911bd4fe7f9ad87bc0f72 (diff)
downloadlinux-cfb6ee65f7603a0605fa8f5fe5b0782f0731c81c.tar.xz
iommu: Always destroy the iommu_group during iommu_release_device()
Have release fully clean up the iommu related parts of the struct device, no matter what state they are in. Split the logic so that the three things owned by the iommu core are always cleaned up: - Any attached iommu_group - Any allocated dev->iommu and its contents including a fwsepc - Any attached driver via a struct group_device This fixes a minor bug where a fwspec created without an iommu_group being probed would not be freed. Reviewed-by: Kevin Tian <kevin.tian@intel.com> Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/8-v3-328044aa278c+45e49-iommu_probe_jgg@nvidia.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions