[PATCH 0/2] nVMX: Ensure host's PAT stays sane
From: Sean Christopherson
Date: Wed Jun 05 2024 - 18:45:41 EST
Fix a bug(s) where test_load_host_pat clobbers PAT and causes all
subsequent tests to effectively run with all memory mapped as UC. Xiangfei
first noticed that this caused rdtsc_vmexit_diff_test to fail, but it can
also lead to timeouts if more tests are added, i.e. if more stuff runs after
test_load_host_pat.
Sean Christopherson (2):
nVMX: Ensure host's PAT is loaded at the end of all VMX tests
nVMX: Verify KVM actually loads the value in HOST_PAT into the PAT MSR
x86/vmx.c | 4 +++-
x86/vmx_tests.c | 10 +++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
base-commit: 765b349b6c4b1c06473dfea548a15f799e0fbc2b
--
2.45.1.467.gbab1589fc0-goog