mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
603d1a50ac
The entry to / exit from sie has subtle dependencies to the first level interrupt handler. Move the sie assembler code to entry64.S and replace the SIE_HOOK callback with a test and the new _TIF_SIE bit. In addition this patch fixes several problems in regard to the check for the_TIF_EXIT_SIE bits. The old code checked the TIF bits before executing the interrupt handler and it only modified the instruction address if it pointed directly to the sie instruction. In both cases it could miss a TIF bit that normally would cause an exit from the guest and would reenter the guest context. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
11 lines
224 B
C
11 lines
224 B
C
#include <linux/module.h>
|
|
#include <linux/kvm_host.h>
|
|
#include <asm/ftrace.h>
|
|
|
|
#ifdef CONFIG_FUNCTION_TRACER
|
|
EXPORT_SYMBOL(_mcount);
|
|
#endif
|
|
#if defined(CONFIG_KVM) || defined(CONFIG_KVM_MODULE)
|
|
EXPORT_SYMBOL(sie64a);
|
|
#endif
|