diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2024-06-10 16:55:36 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-07-04 14:09:33 +0100 |
commit | 26a581606fab44ff76b394f0ba44cd19c6ec0a6e (patch) | |
tree | 4398d420c731888c3402cee0d6817b6582f69dcc /drivers/vhost | |
parent | a27bf2743cb80d3b36b5b43e8e2e702412c41668 (diff) | |
download | linux-26a581606fab44ff76b394f0ba44cd19c6ec0a6e.tar.gz linux-26a581606fab44ff76b394f0ba44cd19c6ec0a6e.tar.bz2 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 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions