diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2026-04-08 04:39:20 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2026-04-28 06:56:06 -0400 |
| commit | 344ebd21f2c9d59fb6d7a409eedf8b31d8b0f17e (patch) | |
| tree | bb8a380e8bfbd238af338592faeaa5de83da0cc8 /rust/kernel/alloc/allocator | |
| parent | 85c290509648e66939bdab21911351957675d631 (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 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions
