diff options
author | Sean Christopherson <[email protected]> | 2024-06-17 14:04:30 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-06-28 08:53:00 -0700 |
commit | 34830b3c02aec1fe6eaac7b178a05c25620a25b0 (patch) | |
tree | dd9360e3fb0af05f42f37fef8055724fa2e88ad5 /lib/crypto/mpi | |
parent | 99a49093ce92d6116a1635802f9c16d0db6e805a (diff) |
KVM: SVM: Force sev_es_host_save_area() to be inlined (for noinstr usage)
Force sev_es_host_save_area() to be always inlined, as it's used in the
low level VM-Enter/VM-Exit path, which is non-instrumentable.
vmlinux.o: warning: objtool: svm_vcpu_enter_exit+0xb0: call to
sev_es_host_save_area() leaves .noinstr.text section
vmlinux.o: warning: objtool: svm_vcpu_enter_exit+0xbf: call to
sev_es_host_save_area.isra.0() leaves .noinstr.text section
Fixes: c92be2fd8edf ("KVM: SVM: Save/restore non-volatile GPRs in SEV-ES VMRUN via host save area")
Reported-by: Borislav Petkov <[email protected]>
Tested-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/crypto/mpi')
0 files changed, 0 insertions, 0 deletions