x86/kvm/vmx: Move guest enter/exit into .noinstr.text
authorThomas Gleixner <tglx@linutronix.de>
Wed, 8 Jul 2020 19:51:57 +0000 (21:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jul 2020 11:08:40 +0000 (07:08 -0400)
commit3ebccdf373c21d8697782b7e8d5af0adc9c26e04
treeada628b4cf4c34e0f54c93ba3830d7149bf6b0f8
parent9fc975e9efd03e57c9599e0fc07c8b264ad8d5b2
x86/kvm/vmx: 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.037311579@linutronix.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/hardirq.h
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/vmx/ops.h
arch/x86/kvm/vmx/vmenter.S
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c