[S390] kvm-390: Let kernel exit SIE instruction on work
authorCarsten Otte <[email protected]>
Wed, 20 Apr 2011 08:15:36 +0000 (10:15 +0200)
committerMartin Schwidefsky <[email protected]>
Wed, 20 Apr 2011 08:15:44 +0000 (10:15 +0200)
commit9ff4cfb3fcfd48b49fdd9be7381b3be340853aa4
treef009abfed6f9077d487764c8c7ca7e8dc3eb0346
parentc7a29e56f0a3526b71e9694b403b8e2cbe9c31e5
[S390] kvm-390: Let kernel exit SIE instruction on work

From: Christian Borntraeger <[email protected]>

This patch fixes the sie exit on interrupts. The low level
interrupt handler returns to the PSW address in pt_regs and not
to the PSW address in the lowcore.
Without this fix a cpu bound guest might never leave guest state
since the host interrupt handler would blindly return to the
SIE instruction, even on need_resched and friends.

Cc: [email protected]
Signed-off-by: Carsten Otte <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
arch/s390/kvm/sie64a.S