Re: [PATCH v4 6/8] KVM: VMX: Bundle all L1 data cache flush mitigation code together
From: Pawan Gupta
Date: Mon Nov 03 2025 - 13:28:05 EST
On Thu, Oct 30, 2025 at 05:30:38PM -0700, Sean Christopherson wrote:
> Move vmx_l1d_flush(), vmx_cleanup_l1d_flush(), and the vmentry_l1d_flush
> param code up in vmx.c so that all of the L1 data cache flushing code is
> bundled together. This will allow conditioning the mitigation code on
> CONFIG_CPU_MITIGATIONS=y with minimal #ifdefs.
>
> No functional change intended.
>
> Reviewed-by: Brendan Jackman <jackmanb@xxxxxxxxxx>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> ---
Reviewed-by: Pawan Gupta <pawan.kumar.gupta@xxxxxxxxxxxxxxx>