]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Nullify instruction for certain program exceptions
authorThomas Huth <thuth@linux.vnet.ibm.com>
Thu, 5 Feb 2015 08:06:56 +0000 (09:06 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 6 Mar 2015 12:40:40 +0000 (13:40 +0100)
commit2e196246f56a28098e58cab68603024a8335f7af
tree85515a198cd4fcb66104bce1fbd73d7cee86b91d
parent78a4ccbfc7bc75ebf06dcc30bb6088580d2c6ab0
KVM: s390: Nullify instruction for certain program exceptions

When certain program exceptions (e.g. DAT access exceptions) occur,
the current instruction has to be nullified, i.e. the old PSW that
gets written into the low-core has to point to the beginning of the
instruction again, and not to the beginning of the next instruction.
Thus we have to rewind the PSW before writing it into the low-core.
The list of nullifying exceptions can be found in the POP, chapter 6,
figure 6-1 ("Interruption Action").

Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/interrupt.c