diff options
author | 2024-06-10 16:55:36 +0800 | |
---|---|---|
committer | 2024-07-04 14:09:33 +0100 | |
commit | 26a581606fab44ff76b394f0ba44cd19c6ec0a6e (patch) | |
tree | 4398d420c731888c3402cee0d6817b6582f69dcc /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | iommu: Add iommu_paging_domain_alloc() interface (diff) | |
download | wireguard-linux-26a581606fab44ff76b394f0ba44cd19c6ec0a6e.tar.xz wireguard-linux-26a581606fab44ff76b394f0ba44cd19c6ec0a6e.zip |
iommufd: Use iommu_paging_domain_alloc()
If the iommu driver doesn't implement its domain_alloc_user callback,
iommufd_hwpt_paging_alloc() rolls back to allocate an iommu paging domain.
Replace iommu_domain_alloc() with iommu_user_domain_alloc() to pass the
device pointer along the path.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20240610085555.88197-3-baolu.lu@linux.intel.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions