]> 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)
commite9c06dae9fea69968cd78ceabc5a39d825168ea2
tree85515a198cd4fcb66104bce1fbd73d7cee86b91d
parentecc313f5c8ca848a6dae17bfd1e11a51064b750c
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