[PATCH v3 0/2] KVM: x86: MCE fixes
From: Carlos López
Date: Tue Jun 09 2026 - 09:33:15 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.
v3:
* Address Sashiko's review. While incorrect in pointing out MCIP's
role, it was partially correct in the sense that the MCE logging
rules were still not fully compliant to the SDM.
v2:
* Add patch 2.
[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: Fix MCE logging rules for KVM_X86_SET_MCE
arch/x86/kvm/x86.c | 65 +++++++++++++++++++++++++++++-----------------
1 file changed, 41 insertions(+), 24 deletions(-)
base-commit: de3a35be92d2391ece4bf3143ef2887192625fd0
--
2.51.0