x86/kvm/svm: Move guest enter/exit into .noinstr.text
authorThomas Gleixner <tglx@linutronix.de>
Wed, 8 Jul 2020 19:51:58 +0000 (21:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jul 2020 11:08:41 +0000 (07:08 -0400)
commit135961e0a7d555fc8f1d7c89ad44a94dffa5dcd8
treeacd19bb1bd40a90c3f54381f026c3d46dc180436
parent3ebccdf373c21d8697782b7e8d5af0adc9c26e04
x86/kvm/svm: Move guest enter/exit into .noinstr.text

Move the functions which are inside the RCU off region into the
non-instrumentable text section.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200708195322.144607767@linutronix.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/vmenter.S