thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone
Pablo Greco e6a3ae
From e7ab1956612806185d87682945e0c54989fa6aaa Mon Sep 17 00:00:00 2001
Pablo Greco e6a3ae
From: David Hildenbrand <david@redhat.com>
Pablo Greco e6a3ae
Date: Wed, 22 May 2019 08:03:58 +0100
Pablo Greco e6a3ae
Subject: [PATCH 06/12] s390x/cpumodel: vector enhancements
Pablo Greco e6a3ae
Pablo Greco e6a3ae
RH-Author: David Hildenbrand <david@redhat.com>
Pablo Greco e6a3ae
Message-id: <20190522080402.20173-7-david@redhat.com>
Pablo Greco e6a3ae
Patchwork-id: 88159
Pablo Greco e6a3ae
O-Subject: [RHEL8.1 qemu-kvm PATCH v2 06/10] s390x/cpumodel: vector enhancements
Pablo Greco e6a3ae
Bugzilla: 1660912
Pablo Greco e6a3ae
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
Pablo Greco e6a3ae
RH-Acked-by: Jens Freimann <jfreimann@redhat.com>
Pablo Greco e6a3ae
RH-Acked-by: Thomas Huth <thuth@redhat.com>
Pablo Greco e6a3ae
Pablo Greco e6a3ae
Add vector enhancements to the cpu model.
Pablo Greco e6a3ae
Pablo Greco e6a3ae
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Pablo Greco e6a3ae
Reviewed-by: David Hildenbrand <david@redhat.com>
Pablo Greco e6a3ae
Message-Id: <20190429090250.7648-6-borntraeger@de.ibm.com>
Pablo Greco e6a3ae
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Pablo Greco e6a3ae
(cherry picked from commit 54d65de0b525272edfa66eb75c3f67b183f8aff4)
Pablo Greco e6a3ae
Signed-off-by: David Hildenbrand <david@redhat.com>
Pablo Greco e6a3ae
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
Pablo Greco e6a3ae
---
Pablo Greco e6a3ae
 target/s390x/cpu_features.c     | 2 ++
Pablo Greco e6a3ae
 target/s390x/cpu_features_def.h | 2 ++
Pablo Greco e6a3ae
 2 files changed, 4 insertions(+)
Pablo Greco e6a3ae
Pablo Greco e6a3ae
diff --git a/target/s390x/cpu_features.c b/target/s390x/cpu_features.c
Pablo Greco e6a3ae
index 154e2bb..3587325 100644
Pablo Greco e6a3ae
--- a/target/s390x/cpu_features.c
Pablo Greco e6a3ae
+++ b/target/s390x/cpu_features.c
Pablo Greco e6a3ae
@@ -108,6 +108,8 @@ static const S390FeatDef s390_features[] = {
Pablo Greco e6a3ae
     FEAT_INIT("irbm", S390_FEAT_TYPE_STFL, 145, "Insert-reference-bits-multiple facility"),
Pablo Greco e6a3ae
     FEAT_INIT("msa8-base", S390_FEAT_TYPE_STFL, 146, "Message-security-assist-extension-8 facility (excluding subfunctions)"),
Pablo Greco e6a3ae
     FEAT_INIT("cmmnt", S390_FEAT_TYPE_STFL, 147, "CMM: ESSA-enhancement (no translate) facility"),
Pablo Greco e6a3ae
+    FEAT_INIT("vxeh2", S390_FEAT_TYPE_STFL, 148, "Vector Enhancements facility 2"),
Pablo Greco e6a3ae
+    FEAT_INIT("vxbeh", S390_FEAT_TYPE_STFL, 152, "Vector BCD enhancements facility 1"),
Pablo Greco e6a3ae
     FEAT_INIT("msa9-base", S390_FEAT_TYPE_STFL, 155, "Message-security-assist-extension-9 facility (excluding subfunctions)"),
Pablo Greco e6a3ae
     FEAT_INIT("etoken", S390_FEAT_TYPE_STFL, 156, "Etoken facility"),
Pablo Greco e6a3ae
 
Pablo Greco e6a3ae
diff --git a/target/s390x/cpu_features_def.h b/target/s390x/cpu_features_def.h
Pablo Greco e6a3ae
index 0307848..ce2223c 100644
Pablo Greco e6a3ae
--- a/target/s390x/cpu_features_def.h
Pablo Greco e6a3ae
+++ b/target/s390x/cpu_features_def.h
Pablo Greco e6a3ae
@@ -96,6 +96,8 @@ typedef enum {
Pablo Greco e6a3ae
     S390_FEAT_INSERT_REFERENCE_BITS_MULT,
Pablo Greco e6a3ae
     S390_FEAT_MSA_EXT_8,
Pablo Greco e6a3ae
     S390_FEAT_CMM_NT,
Pablo Greco e6a3ae
+    S390_FEAT_VECTOR_ENH2,
Pablo Greco e6a3ae
+    S390_FEAT_VECTOR_BCD_ENH,
Pablo Greco e6a3ae
     S390_FEAT_MSA_EXT_9,
Pablo Greco e6a3ae
     S390_FEAT_ETOKEN,
Pablo Greco e6a3ae
 
Pablo Greco e6a3ae
-- 
Pablo Greco e6a3ae
1.8.3.1
Pablo Greco e6a3ae