aboutsummaryrefslogtreecommitdiffstats
path: root/rust/macros/paste.rs
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2024-06-10 08:55:36 +0000
committerWill Deacon <[email protected]>2024-07-04 13:09:33 +0000
commit26a581606fab44ff76b394f0ba44cd19c6ec0a6e (patch)
tree4398d420c731888c3402cee0d6817b6582f69dcc /rust/macros/paste.rs
parentiommu: Add iommu_paging_domain_alloc() interface (diff)
downloadkernel-26a581606fab44ff76b394f0ba44cd19c6ec0a6e.tar.gz
kernel-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 <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'rust/macros/paste.rs')
0 files changed, 0 insertions, 0 deletions