]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Do not setup frame pointer in __svm_vcpu_run
authorUros Bizjak <ubizjak@gmail.com>
Thu, 9 Apr 2020 12:04:40 +0000 (14:04 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Apr 2020 16:08:38 +0000 (12:08 -0400)
commit5641fd520304085943e7264f85d35725e2e918fc
tree4b2888a373b018ecb8f77cd26e70c8a2e7f74dc9
parent1aff0e8c38f410db200d488f24a6a41a4bbfa90d
KVM: SVM: Do not setup frame pointer in __svm_vcpu_run

__svm_vcpu_run is a leaf function and does not need
a frame pointer.  %rbp is also destroyed a few instructions
later when guest registers are loaded.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Message-Id: <20200409120440.1427215-1-ubizjak@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/vmenter.S