aboutsummaryrefslogtreecommitdiffstats
path: root/rust/compiler_builtins.rs
diff options
context:
space:
mode:
authorLu Baolu <[email protected]>2024-07-02 13:08:37 +0000
committerWill Deacon <[email protected]>2024-07-03 15:39:26 +0000
commit2b989ab9bc89b29dd4b5509408b8fa42337eda56 (patch)
treede77e9555d50cdbd0c8cd7087e85b8dc398aec41 /rust/compiler_builtins.rs
parentiommu/vt-d: Downgrade warning for pre-enabled IR (diff)
downloadkernel-2b989ab9bc89b29dd4b5509408b8fa42337eda56.tar.gz
kernel-2b989ab9bc89b29dd4b5509408b8fa42337eda56.zip
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 'rust/compiler_builtins.rs')
0 files changed, 0 insertions, 0 deletions