diff options
author | Vasant Hegde <[email protected]> | 2024-04-10 08:57:02 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2024-04-12 12:03:22 +0200 |
commit | b650b38b006053ef96e90b8e3f7e6edc7845cd57 (patch) | |
tree | 6bccfddd6b63773af33b517543490bd9a64dc390 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 84b1cec4fac5889b6d138d4b5ff6f2d5ef126c5e (diff) |
iommu/amd: Do not enable SNP when V2 page table is enabled
DTE[Mode]=0 is not supported when SNP is enabled in the host. That means
to support SNP, IOMMU must be configured with V1 page table (See IOMMU
spec [1] for the details). If user passes kernel command line to configure
IOMMU domains with v2 page table (amd_iommu=pgtbl_v2) then disable SNP
as the user asked by not forcing the page table to v1.
[1] https://www.amd.com/content/dam/amd/en/documents/processor-tech-docs/specifications/48882_IOMMU.pdf
Cc: Ashish Kalra <[email protected]>
Cc: Michael Roth <[email protected]>
Cc: Tom Lendacky <[email protected]>
Signed-off-by: Vasant Hegde <[email protected]>
Reviewed-by: Tom Lendacky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions