diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2024-11-04 04:40:27 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2024-11-05 15:32:19 +0300 |
commit | 621838c718a81ba3bfb8e0f941bc0133166bc534 (patch) | |
tree | 6685ffd5cea025f38828ec5c28b45d605d48c8a8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ed56de8a9e90d9771c4517fb9f2daac8282269ba (diff) | |
download | linux-621838c718a81ba3bfb8e0f941bc0133166bc534.tar.xz |
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 <jgg@nvidia.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20241021085125.192333-8-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions