diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2024-07-02 21:08:37 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-07-03 16:39:26 +0100 |
commit | 2b989ab9bc89b29dd4b5509408b8fa42337eda56 (patch) | |
tree | de77e9555d50cdbd0c8cd7087e85b8dc398aec41 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 804f98e224e41c16e3b70f97790f84894745a392 (diff) |
iommu/vt-d: Add helper to allocate paging domain
The domain_alloc_user operation is currently implemented by allocating a
paging domain using iommu_domain_alloc(). This is because it needs to fully
initialize the domain before return. Add a helper to do this to avoid using
iommu_domain_alloc().
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-16-baolu.lu@linux.intel.com
Reviewed-by: Yi Liu <yi.l.liu@intel.com>
Link: https://lore.kernel.org/r/20240702130839.108139-6-baolu.lu@linux.intel.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions