diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2022-10-03 10:10:26 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-07 09:16:55 +0200 |
commit | 64723cd346eaa26a5a1d4731e43385fff4b2f663 (patch) | |
tree | 8bb60166c4acb0811bdfce7c9cf75915580998f3 /security | |
parent | 57ba312f10372e51c2464a8754007f0814e07a63 (diff) | |
download | linux-stable-64723cd346eaa26a5a1d4731e43385fff4b2f663.tar.gz linux-stable-64723cd346eaa26a5a1d4731e43385fff4b2f663.tar.bz2 linux-stable-64723cd346eaa26a5a1d4731e43385fff4b2f663.zip |
KVM/nVMX: Use __vmx_vcpu_run in nested_vmx_check_vmentry_hw
commit 150f17bfab37e981ba03b37440638138ff2aa9ec upstream.
Replace inline assembly in nested_vmx_check_vmentry_hw
with a call to __vmx_vcpu_run. The function is not
performance critical, so (double) GPR save/restore
in __vmx_vcpu_run can be tolerated, as far as performance
effects are concerned.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Sean Christopherson <seanjc@google.com>
Reviewed-and-tested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
[sean: dropped versioning info from changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20201231002702.2223707-5-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[cascardo: small fixups]
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions