summaryrefslogtreecommitdiff
path: root/kernel/debug/debug_core.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2026-04-08 04:39:20 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2026-04-28 06:56:06 -0400
commit344ebd21f2c9d59fb6d7a409eedf8b31d8b0f17e (patch)
treebb8a380e8bfbd238af338592faeaa5de83da0cc8 /kernel/debug/debug_core.c
parent85c290509648e66939bdab21911351957675d631 (diff)
KVM: VMX: replace vmx_spec_ctrl_restore_host with RESTORE_HOST_SPEC_CTRL_BODY
Reuse the same assembly as SVM, just with alternatives instead of cpu_feature_enabled(X86_FEATURE_KERNEL_IBRS). Note that Intel does need an LFENCE with eIBRS, unlike AMD's AutoIBRS. However, it is not needed for X86_FEATURE_KERNEL_IBRS because there are no conditional branches between FILL_RETURN_BUFFER and ret. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kernel/debug/debug_core.c')
0 files changed, 0 insertions, 0 deletions