Home
last modified time | relevance | path

Searched hist:d0fc41071a6884d0a10077bb6dc87f9267f32dd6 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/s390/kernel/
H A Dentry.Sdiff d0fc41071a6884d0a10077bb6dc87f9267f32dd6 Mon Jun 22 10:26:40 CDT 2015 Martin Schwidefsky <schwidefsky@de.ibm.com> s390/kvm: integrate HANDLE_SIE_INTERCEPT into cleanup_critical

Currently there are two mechanisms to deal with cleanup work due to
interrupts. The HANDLE_SIE_INTERCEPT macro is used to undo the changes
required to enter SIE in sie64a. If the SIE instruction causes a program
check, or an asynchronous interrupt is received the HANDLE_SIE_INTERCEPT
code forwards the program execution to sie_exit.

All the other critical sections in entry.S are handled by the code in
cleanup_critical that is called by the SWITCH_ASYNC macro.

Move the sie64a function to the beginning of the critical section and
add the code from HANDLE_SIE_INTERCEPT to cleanup_critical. Add a special
case for the sie64a cleanup to the program check handler.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>