KVM: s390: instruction-fetching exceptions on SIE faults
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Tue, 12 Jan 2016 16:40:54 +0000 (17:40 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 10 Feb 2016 12:12:54 +0000 (13:12 +0100)
commit9b0d721a07a2d92c79362dda8e6d896b2c107ce6
tree29e60dd05d596536633ea7788b39f24ab73899a1
parent5631792053f094a8e2f01d5ddcc2550ad4da22f0
KVM: s390: instruction-fetching exceptions on SIE faults

On instruction-fetch exceptions, we have to forward the PSW by any
valid ilc and correctly use that ilc when injecting the irq. Injection
will already take care of rewinding the PSW if we injected a nullifying
program irq, so we don't need special handling prior to injection.

Until now, autodetection would have guessed an ilc of 0.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c