KVM: nSVM: Add checks for CR3 and CR4 reserved bits to svm_set_nested_state() and test CR3 non-MBZ reserved bits
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 1 replyIn review
- v24 patches 4 repliesSuperseded
- v13 patches 3 repliesSuperseded
Changes in v3 from the cover letter
Patch# 2: The local variable "nested_vmcb_lma" in
nested_vmcb_check_cr3_cr4() has been removed.
Patch# 3: Commit message has been enhanced to explain what the test
is doing and why, when testing the 1-setting of the non-MBZ-reserved bits.
Also, the test for legacy-PAE mode has been added. Commit header reflects this addition.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | KVM: nSVM: CR3 MBZ bits are only 63:52arch/ | +1 | 0 replies | |
| 2/4 | KVM: nSVM: Add check for reserved bits for CR3, CR4, DR6, DR7 and EFER to svm_set_nested_state()arch/ | +27 | 0 replies | |
| 3/4 | nSVM: Test non-MBZ reserved bits in CR3 in long mode and legacy PAE modex86/ x86/ | +63 | 0 replies | |
| 4/4 | KVM: nSVM: nested_vmcb_checks() needs to check all bits of EFERarch/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH 0/4 v3] KVM: nSVM: Add checks for CR3 and CR4 reserved bits to svm_set_nested_state() and test CR3 non-MBZ reserved bits
v2 -> v3:
Patch# 2: The local variable "nested_vmcb_lma" in
nested_vmcb_check_cr3_cr4() has been removed.
Patch# 3: Commit message has been enhanced to explain what the test
is doing and why, when testing the 1-setting of the non-MBZ-reserved bits.
Also, the test for legacy-PAE mode has been added. Commit header reflects this addition.
[PATCH 1/4 v3] KVM: nSVM: CR3 MBZ bits are only 63:52
[PATCH 2/4 v3] KVM: nSVM: Add check for reserved bits for CR3, CR4, DR6, [PATCH 3/4 v3] nSVM: Test non-MBZ reserved bits in CR3 in long mode and [PATCH 4/4 v3] KVM: nSVM: nested_vmcb_checks() needs to check all bits
arch/x86/kvm/svm/nested.c | 52 ++++++++++++++++++++++++++--------------------- arch/x86/kvm/svm/svm.h | 2 +- 2 files changed, 30 insertions(+), 24 deletions(-)
Krish Sadhukhan (3):
KVM: nSVM: CR3 MBZ bits are only 63:52
KVM: nSVM: Add check for reserved bits for CR3, CR4, DR6, DR7 and EFER to svm_set_nested_state()
KVM: nSVM: nested_vmcb_checks() needs to check all bits of EFER
x86/svm.h | 4 +++- x86/svm_tests.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 63 insertions(+), 7 deletions(-)
Krish Sadhukhan (1):
nSVM: Test non-MBZ reserved bits in CR3 in long mode and legacy PAE mode