diff options
author | Lu Baolu <[email protected]> | 2024-07-02 21:08:37 +0800 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-07-03 16:39:26 +0100 |
commit | 2b989ab9bc89b29dd4b5509408b8fa42337eda56 (patch) | |
tree | de77e9555d50cdbd0c8cd7087e85b8dc398aec41 /lib/test_fortify/write_overflow-strscpy.c | |
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 <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Yi Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strscpy.c')
0 files changed, 0 insertions, 0 deletions