diff options
author | Lu Baolu <[email protected]> | 2024-11-04 09:40:27 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-11-05 13:32:19 +0100 |
commit | 621838c718a81ba3bfb8e0f941bc0133166bc534 (patch) | |
tree | 6685ffd5cea025f38828ec5c28b45d605d48c8a8 /tools/perf/scripts/python/syscall-counts.py | |
parent | ed56de8a9e90d9771c4517fb9f2daac8282269ba (diff) |
iommu/vt-d: Refine intel_iommu_domain_alloc_user()
The domain_alloc_user ops should always allocate a guest-compatible page
table unless specific allocation flags are specified.
Currently, IOMMU_HWPT_ALLOC_NEST_PARENT and IOMMU_HWPT_ALLOC_DIRTY_TRACKING
require special handling, as both require hardware support for scalable
mode and second-stage translation. In such cases, the driver should select
a second-stage page table for the paging domain.
Suggested-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Lu Baolu <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions