diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-11-13 15:37:43 -0800 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-11-18 16:22:43 -0800 |
| commit | fc704b578976ed6a937f419e611d5ae92c939826 (patch) | |
| tree | 02c3cc35c823d22a0f1a3db087512b69f055a6e9 /arch/x86/include/asm/hypervisor.h | |
| parent | e6ff1d61de51ec5fe94c5fb79544a93f494104eb (diff) | |
x86/bugs: KVM: Move VM_CLEAR_CPU_BUFFERS into SVM as SVM_CLEAR_CPU_BUFFERS
Now that VMX encodes its own sequence for clearing CPU buffers, move
VM_CLEAR_CPU_BUFFERS into SVM to minimize the chances of KVM botching a
mitigation in the future, e.g. using VM_CLEAR_CPU_BUFFERS instead of
checking multiple mitigation flags.
No functional change intended.
Reviewed-by: Brendan Jackman <jackmanb@google.com>
Acked-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20251113233746.1703361-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86/include/asm/hypervisor.h')
0 files changed, 0 insertions, 0 deletions
