diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2025-07-14 12:50:20 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-07-14 11:18:03 +0100 |
commit | cd0d0e4e48d817215695e1cc9114c6f614fb629f (patch) | |
tree | 406d74a4839a11f9ed9ed50b5c3df5420d2638af /scripts/lib/kdoc/kdoc_parser.py | |
parent | 12724ce3fe1a3d8f30d56e48b4f272d8860d1970 (diff) |
iommu/vt-d: Lift the __pa to domain_setup_first_level/intel_svm_set_dev_pasid()
Pass the phys_addr_t down through the call chain from the top instead of
passing a pgd_t * KVA. This moves the __pa() into
domain_setup_first_level() which is the first function to obtain the pgd
from the IOMMU page table in this call chain.
The SVA flow is also adjusted to get the pa of the mm->pgd.
iommput will move the __pa() into iommupt code, it never shares the KVA of
the page table with the driver.
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/1-v3-dbbe6f7e7ae3+124ffe-vtd_prep_jgg@nvidia.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20250714045028.958850-4-baolu.lu@linux.intel.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions