]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - arch/s390/kernel/entry.S
[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)
commit603d1a50acf252621a3598618b018b8123aaba64
treef0f8e2d91b34d2cdb9d80b2146a6fdfd48f1d429
parentbb25b9ba3e33e941dc48048d0a784e6a05e5648a
[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]