summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/interrupt.c
diff options
context:
space:
mode:
authorEric Farman <farman@linux.vnet.ibm.com>2015-02-02 15:01:06 -0500
committerChristian Borntraeger <borntraeger@de.ibm.com>2015-03-06 13:49:33 +0100
commit403c8648cb191ef88555bfa72deaa969c0367f41 (patch)
treefecd56dcd715401cf76c30e0fb31f9f839892be0 /arch/s390/kvm/interrupt.c
parent68c557501b008515cb86c9a36c75f4e82e14a819 (diff)
downloadop-kernel-dev-403c8648cb191ef88555bfa72deaa969c0367f41.zip
op-kernel-dev-403c8648cb191ef88555bfa72deaa969c0367f41.tar.gz
KVM: s390: Vector exceptions
A new exception type for vector instructions is introduced with the new processor, but is handled exactly like a Data Exception which is already handled by the system. Signed-off-by: Eric Farman <farman@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>
Diffstat (limited to 'arch/s390/kvm/interrupt.c')
-rw-r--r--arch/s390/kvm/interrupt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c
index 9561e1d..036d375 100644
--- a/arch/s390/kvm/interrupt.c
+++ b/arch/s390/kvm/interrupt.c
@@ -544,6 +544,7 @@ static int __must_check __deliver_prog(struct kvm_vcpu *vcpu)
rc |= put_guest_lc(vcpu, pgm_info.mon_code,
(u64 *)__LC_MON_CODE);
break;
+ case PGM_VECTOR_PROCESSING:
case PGM_DATA:
rc = put_guest_lc(vcpu, pgm_info.data_exc_code,
(u32 *)__LC_DATA_EXC_CODE);
OpenPOWER on IntegriCloud