yeahuh / 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

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