Re: [PATCH 0/3] Unify VERW mitigation for guests

From: Sean Christopherson

Date: Wed Oct 29 2025 - 20:29:10 EST


On Wed, Oct 29, 2025, Pawan Gupta wrote:
> ---
> Pawan Gupta (3):
> x86/bugs: Use VM_CLEAR_CPU_BUFFERS in VMX as well
> x86/mmio: Rename cpu_buf_vm_clear to cpu_buf_vm_clear_mmio_only
> x86/mmio: Unify VERW mitigation for guests
>
> arch/x86/include/asm/nospec-branch.h | 2 +-
> arch/x86/kernel/cpu/bugs.c | 17 +++++++++++------
> arch/x86/kvm/mmu/spte.c | 2 +-
> arch/x86/kvm/vmx/run_flags.h | 12 ++++++------
> arch/x86/kvm/vmx/vmenter.S | 8 +++++++-
> arch/x86/kvm/vmx/vmx.c | 26 ++++++++++----------------
> 6 files changed, 36 insertions(+), 31 deletions(-)
> ---

Any objection to taking these through the KVM tree when they're ready? There
will be a conflict in vmx.c with an L1TF related cleanup, and that conflict is
actually helpful in that the two series feed off each other a little bit.