aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2023-06-05 21:59:47 -0300
committerJoerg Roedel <[email protected]>2023-07-14 16:14:16 +0200
commitfa08280364882c42993dc5d8394c467d76803fdb (patch)
tree686b27338825043a71d9eb10ce57e10ad70de5b1 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentcfb6ee65f7603a0605fa8f5fe5b0782f0731c81c (diff)
iommu: Split iommu_group_add_device()
Move the list_add_tail() for the group_device into the critical region that immediately follows in __iommu_probe_device(). This avoids one case of unlocking and immediately re-locking the group->mutex. Consistently make the caller responsible for setting dev->iommu_group, prior patches moved this into iommu_init_device(), make the no-driver path do this in iommu_group_add_device(). This completes making __iommu_group_free_device() and iommu_group_alloc_device() into pair'd functions. Reviewed-by: Lu Baolu <[email protected]> Reviewed-by: Kevin Tian <[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