public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] KVM: SVM: GIF and EFER.SVME are independent
@ 2025-10-09 22:31 Jim Mattson
  2025-10-09 22:31 ` [PATCH v2 1/2] KVM: SVM: Allow KVM_SET_NESTED_STATE to clear GIF when SVME==0 Jim Mattson
  2025-10-09 22:31 ` [PATCH v2 2/2] KVM: SVM: Don't set GIF when clearing EFER.SVME Jim Mattson
  0 siblings, 2 replies; 12+ messages in thread
From: Jim Mattson @ 2025-10-09 22:31 UTC (permalink / raw)
  To: Yosry Ahmed, Sean Christopherson, Paolo Bonzini, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, Dave Hansen, x86, H. Peter Anvin,
	kvm, linux-kernel
  Cc: Jim Mattson

Clearing EFER.SVME is not architected to set GIF, so GIF may be clear
even when EFER.SVME is clear.

This is covered in the discussion at
https://lore.kernel.org/all/5b8787b8-16e9-13dc-7fca-0dc441d673f9@citrix.com/.

v2:
  - Allow KVM_SET_NESTED_STATE to clear GIF when SVME==0

v1: https://lore.kernel.org/kvm/20251007224405.1914008-1-jmattson@google.com/

Jim Mattson (2):
  KVM: SVM: Allow KVM_SET_NESTED_STATE to clear GIF when SVME==0
  KVM: SVM: Don't set GIF when clearing EFER.SVME

 arch/x86/kvm/svm/nested.c | 4 ++--
 arch/x86/kvm/svm/svm.c    | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

-- 
2.51.0.740.g6adb054d12-goog


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

end of thread, other threads:[~2025-11-11  0:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-09 22:31 [PATCH v2 0/2] KVM: SVM: GIF and EFER.SVME are independent Jim Mattson
2025-10-09 22:31 ` [PATCH v2 1/2] KVM: SVM: Allow KVM_SET_NESTED_STATE to clear GIF when SVME==0 Jim Mattson
2025-10-09 23:24   ` Yosry Ahmed
2025-10-09 22:31 ` [PATCH v2 2/2] KVM: SVM: Don't set GIF when clearing EFER.SVME Jim Mattson
2025-10-13 22:33   ` Sean Christopherson
2025-10-14 20:51     ` Jim Mattson
2025-10-14 21:18       ` Sean Christopherson
2025-10-14 21:31         ` Jim Mattson
2025-10-14 22:07           ` Sean Christopherson
2025-10-14 22:58             ` Jim Mattson
2025-10-17 21:56               ` Sean Christopherson
2025-11-11  0:26                 ` Yosry Ahmed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox