diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2025-05-13 11:07:35 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2025-05-16 08:49:27 +0200 |
commit | 6f5dc7658094610debe2fad1b09a2034e14857b1 (patch) | |
tree | 551348b06dee1bf0c625146ea9d4aebc4669e414 /scripts/lib/kdoc/kdoc_re.py | |
parent | 8ffd015db85fea3e15a77027fda6c02ced4d2444 (diff) |
iommu/vt-d: Restore WO permissions on second-level paging entries
VT-D HW can do WO permissions on the second-stage but not the first-stage
page table formats. The commit eea53c581688 ("iommu/vt-d: Remove WO
permissions on second-level paging entries") wanted to make this uniform
for VT-D by disabling the support for WO permissions in the second-stage.
This isn't consistent with how other drivers are working. Instead if the
underlying HW can support WO, it should. For instance AMD already supports
WO on its second stage (v1) format and not its first (v2).
If WO support needs to be discoverable it should be done through an
iommu_domain capability flag.
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/0-v1-c26553717e90+65f-iommu_vtd_ss_wo_jgg@nvidia.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions