KVM: s390: Forward PSW to next instruction for addressing exceptions
authorThomas Huth <thuth@linux.vnet.ibm.com>
Tue, 10 Feb 2015 15:11:01 +0000 (16:11 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 6 Mar 2015 12:40:45 +0000 (13:40 +0100)
commit492d8642eaefbd47f6fb0e8265f058c02720e5c8
tree7666f73258ebfb11cdab1050f5a82cd47d0f4593
parenta9a846fd5c1723820c97cef56989ea14eea4b30e
KVM: s390: Forward PSW to next instruction for addressing exceptions

When the SIE exited by a DAT access exceptions which we can not
resolve, the guest tried to access a page which is out of bounds
and can not be paged-in. In this case we have to signal the bad
access by injecting an address exception. However, address exceptions
are either suppressing or terminating, i.e. the PSW has to point to
the next instruction when the exception is delivered. Since the
originating DAT access exception is nullifying, the PSW still
points to the offending instruction instead, so we've got to forward
the PSW to the next instruction.
Having fixed this issue, we can now also enable the TPROT
interpretation facility again which had been disabled because
of this problem.

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c
This page took 0.027348 seconds and 5 git commands to generate.