aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorKirill A. Shutemov <[email protected]>2024-10-15 12:58:17 +0300
committerPaolo Bonzini <[email protected]>2024-10-20 07:07:02 -0400
commit8e690b817e38769dc2fa0e7473e5a5dc1fc25795 (patch)
treebbe51d126b176306c2f51dba5520354cea20a058 /scripts/gdb/linux/interrupts.py
parentbc07eea2f3b330127242df2e0ec2d6cd16b4f2e8 (diff)
x86/kvm: Override default caching mode for SEV-SNP and TDX
AMD SEV-SNP and Intel TDX have limited access to MTRR: either it is not advertised in CPUID or it cannot be programmed (on TDX, due to #VE on CR0.CD clear). This results in guests using uncached mappings where it shouldn't and pmd/pud_set_huge() failures due to non-uniform memory type reported by mtrr_type_lookup(). Override MTRR state, making it WB by default as the kernel does for Hyper-V guests. Signed-off-by: Kirill A. Shutemov <[email protected]> Suggested-by: Binbin Wu <[email protected]> Cc: Juergen Gross <[email protected]> Cc: Tom Lendacky <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Message-ID: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions