[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251009223153.3344555-1-jmattson@google.com>
Date: Thu, 9 Oct 2025 15:31:32 -0700
From: Jim Mattson <jmattson@...gle.com>
To: Yosry Ahmed <yosry.ahmed@...ux.dev>, Sean Christopherson <seanjc@...gle.com>,
Paolo Bonzini <pbonzini@...hat.com>, Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>,
Borislav Petkov <bp@...en8.de>, Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>, kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Jim Mattson <jmattson@...gle.com>
Subject: [PATCH v2 0/2] KVM: SVM: GIF and EFER.SVME are independent
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
Powered by blists - more mailing lists