diff options
author | Jason Gunthorpe <[email protected]> | 2023-06-05 21:59:44 -0300 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-07-14 16:14:14 +0200 |
commit | 14891af3799e8cd24dee14f78c31fa663cfb5ba9 (patch) | |
tree | b9f0c432a2e1a298f298fbb8ede494725d059e25 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | aa0958570f24f562422afa41fefd1b3a1fe0f6d0 (diff) |
iommu: Move the iommu driver sysfs setup into iommu_init/deinit_device()
It makes logical sense that once the driver is attached to the device the
sysfs links appear, even if we haven't fully created the group_device or
attached the device to a domain.
Fix the missing error handling on sysfs creation since
iommu_init_device() can trivially handle this.
Reviewed-by: Kevin Tian <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions