[PATCH v2 0/2] KVM: x86: MCE fixes
From: Carlos López
Date: Tue Jun 09 2026 - 07:02:10 EST
These two patches are somewhat unrelated, but patch 2 came out of
Sean's suggestions from reviewing the first patch (see [1]). Patch 1 is
unchanged.
Note that the SDM is ambiguous regarding the logging behavior for
IA32_MCG_CTL, so additional correctness fixes may be warranted on top.
[1] https://lore.kernel.org/all/20260516163412.601908-1-clopez@xxxxxxx/
Carlos López (2):
KVM: x86: Fix array_index_nospec() protection in kvm_vcpu_ioctl_x86_set_mce()
KVM: x86: Do not gate MCE logging based on IA32_MCi_CTL
arch/x86/kvm/x86.c | 32 ++++++++++++++++++++------------
1 file changed, 20 insertions(+), 12 deletions(-)
base-commit: de3a35be92d2391ece4bf3143ef2887192625fd0
--
2.51.0