diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-11-13 15:37:44 -0800 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-11-18 16:22:44 -0800 |
| commit | 0abd9610d6c6996317262f1712c959d74ed08de6 (patch) | |
| tree | eeff6ceb4c560ddfde5340c02373f0d03b2181a7 /arch/x86/include/asm/asm.h | |
| parent | fc704b578976ed6a937f419e611d5ae92c939826 (diff) | |
KVM: VMX: Bundle all L1 data cache flush mitigation code together
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@google.com>
Reviewed-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Link: https://patch.msgid.link/20251113233746.1703361-8-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86/include/asm/asm.h')
0 files changed, 0 insertions, 0 deletions
