[S390] kvm-390: Let kernel exit SIE instruction on work
authorCarsten Otte <cotte@de.ibm.com>
Wed, 20 Apr 2011 08:15:36 +0000 (10:15 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
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 <borntraeger@de.ibm.com>

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: stable@kernel.org
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kvm/sie64a.S