]> 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)
commite8e19927a6ce8ea37a7f718a6d128eb8fe0af093
treef0f8e2d91b34d2cdb9d80b2146a6fdfd48f1d429
parentd9f2e1d76a0590ad0be4707a856db07c639edd25
[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]