cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-s390x-cpumodel-change-internal-name-of-vxpdeh-to-mat.patch

Pablo Greco e6a3ae
From 6bd2a32b23c4d1ea45f7aea34d95817e7f1f5e0b Mon Sep 17 00:00:00 2001
Pablo Greco e6a3ae
From: David Hildenbrand <david@redhat.com>
Pablo Greco e6a3ae
Date: Tue, 16 Jul 2019 20:44:22 +0100
Pablo Greco e6a3ae
Subject: [PATCH 20/39] s390x/cpumodel: change internal name of vxpdeh to match
Pablo Greco e6a3ae
 description
Pablo Greco e6a3ae
Pablo Greco e6a3ae
RH-Author: David Hildenbrand <david@redhat.com>
Pablo Greco e6a3ae
Message-id: <20190716204422.9350-5-david@redhat.com>
Pablo Greco e6a3ae
Patchwork-id: 89548
Pablo Greco e6a3ae
O-Subject: [RHEL8.1 qemu-kvm PATCH 4/4] s390x/cpumodel: change internal name of vxpdeh to match description
Pablo Greco e6a3ae
Bugzilla: 1729975
Pablo Greco e6a3ae
RH-Acked-by: Thomas Huth <thuth@redhat.com>
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
Pablo Greco e6a3ae
Conflicts: upstream changed the way cpu features are defined
Pablo Greco e6a3ae
Pablo Greco e6a3ae
The internal macro name VECTOR_BCD_ENH does not match the actual
Pablo Greco e6a3ae
description. Fix this.
Pablo Greco e6a3ae
Pablo Greco e6a3ae
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Pablo Greco e6a3ae
Message-Id: <20190715142304.215018-4-borntraeger@de.ibm.com>
Pablo Greco e6a3ae
[CH: vxp->vxpdeh, as discussed]
Pablo Greco e6a3ae
Reviewed-by: David Hildenbrand <david@redhat.com>
Pablo Greco e6a3ae
Reviewed-by: Thomas Huth <thuth@redhat.com>
Pablo Greco e6a3ae
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Pablo Greco e6a3ae
(cherry picked from commit 5d8866c89817998a3d9c3055d5dc2b5a8e78658a)
Pablo Greco e6a3ae
Signed-off-by: David Hildenbrand <david@redhat.com>
Pablo Greco e6a3ae
Pablo Greco e6a3ae
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
Pablo Greco e6a3ae
---
Pablo Greco e6a3ae
 target/s390x/cpu_features_def.h | 2 +-
Pablo Greco e6a3ae
 target/s390x/gen-features.c     | 4 ++--
Pablo Greco e6a3ae
 2 files changed, 3 insertions(+), 3 deletions(-)
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 292b17b..a7abe4d 100644
Pablo Greco e6a3ae
--- a/target/s390x/cpu_features_def.h
Pablo Greco e6a3ae
+++ b/target/s390x/cpu_features_def.h
Pablo Greco e6a3ae
@@ -99,7 +99,7 @@ typedef enum {
Pablo Greco e6a3ae
     S390_FEAT_VECTOR_ENH2,
Pablo Greco e6a3ae
     S390_FEAT_ESORT_BASE,
Pablo Greco e6a3ae
     S390_FEAT_DEFLATE_BASE,
Pablo Greco e6a3ae
-    S390_FEAT_VECTOR_BCD_ENH,
Pablo Greco e6a3ae
+    S390_FEAT_VECTOR_PACKED_DECIMAL_ENH,
Pablo Greco e6a3ae
     S390_FEAT_MSA_EXT_9,
Pablo Greco e6a3ae
     S390_FEAT_ETOKEN,
Pablo Greco e6a3ae
 
Pablo Greco e6a3ae
diff --git a/target/s390x/gen-features.c b/target/s390x/gen-features.c
Pablo Greco e6a3ae
index 384d60a..24d78e9 100644
Pablo Greco e6a3ae
--- a/target/s390x/gen-features.c
Pablo Greco e6a3ae
+++ b/target/s390x/gen-features.c
Pablo Greco e6a3ae
@@ -557,7 +557,7 @@ static uint16_t full_GEN15_GA1[] = {
Pablo Greco e6a3ae
     S390_FEAT_VECTOR_ENH2,
Pablo Greco e6a3ae
     S390_FEAT_GROUP_ENH_SORT,
Pablo Greco e6a3ae
     S390_FEAT_GROUP_DEFLATE_CONVERSION,
Pablo Greco e6a3ae
-    S390_FEAT_VECTOR_BCD_ENH,
Pablo Greco e6a3ae
+    S390_FEAT_VECTOR_PACKED_DECIMAL_ENH,
Pablo Greco e6a3ae
     S390_FEAT_GROUP_MSA_EXT_9,
Pablo Greco e6a3ae
     S390_FEAT_GROUP_MSA_EXT_9_PCKMO,
Pablo Greco e6a3ae
     S390_FEAT_ETOKEN,
Pablo Greco e6a3ae
@@ -648,7 +648,7 @@ static uint16_t default_GEN14_GA2[] = {
Pablo Greco e6a3ae
 static uint16_t default_GEN15_GA1[] = {
Pablo Greco e6a3ae
     S390_FEAT_VECTOR_ENH2,
Pablo Greco e6a3ae
     S390_FEAT_GROUP_DEFLATE_CONVERSION,
Pablo Greco e6a3ae
-    S390_FEAT_VECTOR_BCD_ENH,
Pablo Greco e6a3ae
+    S390_FEAT_VECTOR_PACKED_DECIMAL_ENH,
Pablo Greco e6a3ae
     S390_FEAT_GROUP_MSA_EXT_9,
Pablo Greco e6a3ae
     S390_FEAT_GROUP_MSA_EXT_9_PCKMO,
Pablo Greco e6a3ae
     S390_FEAT_ETOKEN,
Pablo Greco e6a3ae
-- 
Pablo Greco e6a3ae
1.8.3.1
Pablo Greco e6a3ae