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)
committerSteve Conklin <sconklin@canonical.com>
Thu, 2 Jun 2011 19:23:04 +0000 (14:23 -0500)
commit90fc3327a5593b08222a74c82e1f8aa63173a7b0
treee86ea6864368f18fb3fbc43aa758b50069b5e338
parent316fd57e59096a36794e7a588e9ce47c82f6a09d
kvm-390: Let kernel exit SIE instruction on work

BugLink: http://bugs.launchpad.net/bugs/775809

commit 9ff4cfb3fcfd48b49fdd9be7381b3be340853aa4 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/s390/kvm/sie64a.S