Re: [PATCH v3 0/5] KVM: x86: Fix EFER reserved bits initialization
From: Sean Christopherson
Date: Fri Jul 31 2026 - 16:15:50 EST
On Mon, 13 Jul 2026 18:10:15 +0000, Yosry Ahmed wrote:
> v3 of fixing EFER reserved bits initialization on vendor module reload,
> and move them into kvm_caps. I reworked and reordered the patches such
> that we go straight to reinitializing the EFER reserved bits, instead of
> first re-reserving the bits on vendor init if nested=0.
>
> The motivation for the previous approach was simpler backports, but
> practically the fixes don't apply cleanly anyway to most stable kernels
> due to EFER.LMSLE handling being introduced very recently.
>
> [...]
Applied to kvm-x86 misc, thanks!
[1/5] KVM: x86: Move enabling EFER.SVME and EFER.LMSLE to generic EFER setup
https://github.com/kvm-x86/linux/commit/6ccc19d4c1eb
[2/5] KVM: x86: Disallow EFER.LME and EFER.LMA if long mode is not supported
https://github.com/kvm-x86/linux/commit/e62392bf39eb
[3/5] KVM: x86: Always initialize EFER reserved bits on vendor initialization
https://github.com/kvm-x86/linux/commit/a4b8acd428ba
[4/5] KVM: x86: Reverse the polarity of efer_reserved_bits
https://github.com/kvm-x86/linux/commit/37352c4fbdd7
[5/5] KVM: x86: Move supported EFER bits to kvm_caps
https://github.com/kvm-x86/linux/commit/92b2af2b6d2c
--
https://github.com/kvm-x86/linux/tree/next