kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4 v2] KVM: nSVM: Add checks for CR3 and CR4 reserved bits to svm_set_nested_state() and test CR3 non-MBZ reserved bits
@ 2020-09-28  7:20 Krish Sadhukhan
  2020-09-28  7:20 ` [PATCH 1/4 v2] KVM: nSVM: CR3 MBZ bits are only 63:52 Krish Sadhukhan
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Krish Sadhukhan @ 2020-09-28  7:20 UTC (permalink / raw)
  To: kvm; +Cc: pbonzini, jmattson

v1 -> v2:
	1. Patch# 2 has added checks for DR6, DR7 and EFER to
	   SVM_SET_NESTED_STATE path.
	2. Patch# 4 is a new addition. It has added missing checks for EFER
	   to nested_vmcb_checks().

[PATCH 1/4 v2] KVM: nSVM: CR3 MBZ bits are only 63:52
[PATCH 2/4 v2] KVM: nSVM: Add check for reserved bits for CR3, CR4, DR6,
[PATCH 3/4 v2] KVM: nSVM: Test non-MBZ reserved bits in CR3 in long mode
[PATCH 4/4 v2] KVM: nSVM: nested_vmcb_checks() needs to check all bits of

 arch/x86/kvm/svm/nested.c | 58 ++++++++++++++++++++++++++++-------------------
 arch/x86/kvm/svm/svm.h    |  2 +-
 2 files changed, 36 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       |  3 ++-
 x86/svm_tests.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++------
 2 files changed, 48 insertions(+), 7 deletions(-)

Krish Sadhukhan (1):
      KVM: nSVM: Test non-MBZ reserved bits in CR3 in long mode


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-10-05 19:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-28  7:20 [PATCH 0/4 v2] KVM: nSVM: Add checks for CR3 and CR4 reserved bits to svm_set_nested_state() and test CR3 non-MBZ reserved bits Krish Sadhukhan
2020-09-28  7:20 ` [PATCH 1/4 v2] KVM: nSVM: CR3 MBZ bits are only 63:52 Krish Sadhukhan
2020-09-28  7:20 ` [PATCH 2/4 v2] KVM: nSVM: Add check for reserved bits for CR3, CR4, DR6, DR7 and EFER to svm_set_nested_state() Krish Sadhukhan
2020-09-28  7:20 ` [PATCH 3/4 v2] KVM: nSVM: Test non-MBZ reserved bits in CR3 in long mode Krish Sadhukhan
2020-09-29  3:11   ` Sean Christopherson
2020-10-01  0:29     ` Krish Sadhukhan
2020-10-01  0:50       ` Sean Christopherson
2020-10-05 19:10         ` Krish Sadhukhan
2020-09-28  7:20 ` [PATCH 4/4 v2] KVM: nSVM: nested_vmcb_checks() needs to check all bits of EFER Krish Sadhukhan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).