aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2024-04-18 10:33:59 +0000
committerJoerg Roedel <[email protected]>2024-04-26 12:16:07 +0200
commit80af5a45202422db957549a241e00bf4d4e0ce89 (patch)
treeead27d37d2c59c490a96b50e00c6363b4ba693dc /tools/perf/scripts/python/export-to-postgresql.py
parent1af95763e0a33e854b4c0a961756719eb8a2b74d (diff)
iommu: Add ops->domain_alloc_sva()
Make a new op that receives the device and the mm_struct that the SVA domain should be created for. Unlike domain_alloc_paging() the dev argument is never NULL here. This allows drivers to fully initialize the SVA domain and allocate the mmu_notifier during allocation. It allows the notifier lifetime to follow the lifetime of the iommu_domain. Since we have only one call site, upgrade the new op to return ERR_PTR instead of NULL. Signed-off-by: Jason Gunthorpe <[email protected]> [Removed smmu3 related changes - Vasant] Signed-off-by: Vasant Hegde <[email protected]> Reviewed-by: Tina Zhang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions