Skip to content

KVM: nSVM: Test MBZ bits in nested CR3 (nCR3)

Krish Sadhukhan kvm 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

1. Instead of using a fixed MBZ mask, the mask is now generated based on the VCPU's implemented physical bit width.

2. Patch# 3 is new and it fixes the existing 'test_cr3' tests to use the VCPU's implemented physical bit width in generating the MBZ mask.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3nSVM: Check MBZ bits in nested CR3 (nCR3) on VMRUN of nested guestsarch/x86/kvm/svm/nested.c+2 -10 replies
2/3nSVM: Test MBZ bits in nested CR3 (nCR3)x86/svm_tests.c+41 -10 replies
3/3nSVM: Use VCPU's implemented physical bit width to genereate MBZ mask for CR3x86/svm.h x86/svm_tests.c+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 0/3 v2] KVM: nSVM: Test MBZ bits in nested CR3 (nCR3)

v1 -> v2:
1. Instead of using a fixed MBZ mask, the mask is now generated based on the VCPU's implemented physical bit width.

2. Patch# 3 is new and it fixes the existing 'test_cr3' tests to use the VCPU's implemented physical bit width in generating the MBZ mask.

[PATCH 1/3 v2] nSVM: Check MBZ bits in nested CR3 (nCR3) on VMRUN of nested [PATCH 2/3 v2] nSVM: Test MBZ bits in nested CR3 (nCR3)
[PATCH 3/3 v2] nSVM: Use VCPU's implemented physical bit width to

 arch/x86/kvm/svm/nested.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Krish Sadhukhan (1):
nSVM: Check MBZ bits in nested CR3 (nCR3) on VMRUN of nested guests

 x86/svm.h       |  1 -
 x86/svm_tests.c | 49 +++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 45 insertions(+), 5 deletions(-)

Krish Sadhukhan (2):
nSVM: Test MBZ bits in nested CR3 (nCR3)
nSVM: Use VCPU's implemented physical bit width to genereate MBZ mask for CR3