]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit472891de7ef259b60f2f357b27cf33a67e31a592
treef009abfed6f9077d487764c8c7ca7e8dc3eb0346
parent20f67818134a19fd156533a85b8155a67ea31d73
[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