summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/intercept.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/intercept.c
parent68c557501b008515cb86c9a36c75f4e82e14a819 (diff)
downloadtalos-obmc-linux-403c8648cb191ef88555bfa72deaa969c0367f41.tar.gz
talos-obmc-linux-403c8648cb191ef88555bfa72deaa969c0367f41.zip
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/intercept.c')
-rw-r--r--arch/s390/kvm/intercept.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kvm/intercept.c b/arch/s390/kvm/intercept.c
index bebd2157edd0..08ae10a3b406 100644
--- a/arch/s390/kvm/intercept.c
+++ b/arch/s390/kvm/intercept.c
@@ -165,6 +165,7 @@ static void __extract_prog_irq(struct kvm_vcpu *vcpu,
pgm_info->mon_class_nr = vcpu->arch.sie_block->mcn;
pgm_info->mon_code = vcpu->arch.sie_block->tecmc;
break;
+ case PGM_VECTOR_PROCESSING:
case PGM_DATA:
pgm_info->data_exc_code = vcpu->arch.sie_block->dxc;
break;
OpenPOWER on IntegriCloud