]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] move sie code to entry.S
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Sun, 24 Jul 2011 08:48:18 +0000 (10:48 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Sun, 24 Jul 2011 08:48:21 +0000 (10:48 +0200)
commitc9785be6bd38bceb21f6e136d81206f4776951f6
treef0f8e2d91b34d2cdb9d80b2146a6fdfd48f1d429
parent1ee0d5000029823825fc79d289e5b34f0a83d58f
[S390] move sie code to entry.S

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>
arch/s390/include/asm/thread_info.h
arch/s390/kernel/entry64.S
arch/s390/kernel/s390_ksyms.c
arch/s390/kvm/Makefile
arch/s390/kvm/sie64a.S [deleted file]