summaryrefslogtreecommitdiff
path: root/scripts/remove-stale-files
diff options
context:
space:
mode:
authorVasant Hegde <vasant.hegde@amd.com>2024-04-10 08:57:02 +0000
committerJoerg Roedel <jroedel@suse.de>2024-04-12 12:03:22 +0200
commitb650b38b006053ef96e90b8e3f7e6edc7845cd57 (patch)
tree6bccfddd6b63773af33b517543490bd9a64dc390 /scripts/remove-stale-files
parent84b1cec4fac5889b6d138d4b5ff6f2d5ef126c5e (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 <ashish.kalra@amd.com> Cc: Michael Roth <michael.roth@amd.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Vasant Hegde <vasant.hegde@amd.com> Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com> Link: https://lore.kernel.org/r/20240410085702.31869-1-vasant.hegde@amd.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'scripts/remove-stale-files')
0 files changed, 0 insertions, 0 deletions