Skip to content

nVMX: Ensure host's PAT stays sane

Sean Christopherson lkml 1 version Applied

Status from this message: Applied to kvm-x86 next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2nVMX: Ensure host's PAT is loaded at the end of all VMX testsx86/vmx.c x86/vmx_tests.c+7 -23 replies
2/2nVMX: Verify KVM actually loads the value in HOST_PAT into the PAT MSRx86/vmx_tests.c+5 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchYan Zhao
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] nVMX: Ensure host's PAT stays sane

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

Signature · 1 line
2.45.1.467.gbab1589fc0-goog