|
|
ae23c9 |
From a74dac6606968b164d38aaec5bd8bc1abef4100d Mon Sep 17 00:00:00 2001
|
|
|
ae23c9 |
From: Thomas Huth <thuth@redhat.com>
|
|
|
ae23c9 |
Date: Fri, 29 Mar 2019 11:13:36 +0000
|
|
|
ae23c9 |
Subject: [PATCH 2/7] s390x/cpumodel: add z14 GA2 model
|
|
|
ae23c9 |
|
|
|
ae23c9 |
RH-Author: Thomas Huth <thuth@redhat.com>
|
|
|
ae23c9 |
Message-id: <1553858017-376-3-git-send-email-thuth@redhat.com>
|
|
|
ae23c9 |
Patchwork-id: 85239
|
|
|
ae23c9 |
O-Subject: [RHEL-8.1.0 qemu-kvm PATCH 2/3] s390x/cpumodel: add z14 GA2 model
|
|
|
ae23c9 |
Bugzilla: 1664371
|
|
|
ae23c9 |
RH-Acked-by: David Hildenbrand <david@redhat.com>
|
|
|
ae23c9 |
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
ae23c9 |
RH-Acked-by: Jens Freimann <jfreimann@redhat.com>
|
|
|
ae23c9 |
|
|
|
ae23c9 |
From: Collin Walling <walling@linux.ibm.com>
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Introduce the z14 GA2 cpu model for QEMU. There are no new features
|
|
|
ae23c9 |
introduced with this model, and will inherit the same feature set as
|
|
|
ae23c9 |
z14 GA1.
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Signed-off-by: Collin Walling <walling@linux.ibm.com>
|
|
|
ae23c9 |
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
|
|
|
ae23c9 |
Reviewed-by: David Hildenbrand <david@redhat.com>
|
|
|
ae23c9 |
Message-Id: <20190212011657.18324-3-walling@linux.ibm.com>
|
|
|
ae23c9 |
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
ae23c9 |
(cherry picked from commit f2a7d1577115bda770d619ff5bc45db1f656edc3)
|
|
|
ae23c9 |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
|
ae23c9 |
---
|
|
|
ae23c9 |
target/s390x/cpu_models.c | 1 +
|
|
|
ae23c9 |
target/s390x/gen-features.c | 7 +++++++
|
|
|
ae23c9 |
2 files changed, 8 insertions(+)
|
|
|
ae23c9 |
|
|
|
ae23c9 |
diff --git a/target/s390x/cpu_models.c b/target/s390x/cpu_models.c
|
|
|
ae23c9 |
index 43f16a7..5e9b716 100644
|
|
|
ae23c9 |
--- a/target/s390x/cpu_models.c
|
|
|
ae23c9 |
+++ b/target/s390x/cpu_models.c
|
|
|
ae23c9 |
@@ -79,6 +79,7 @@ static S390CPUDef s390_cpu_defs[] = {
|
|
|
ae23c9 |
CPUDEF_INIT(0x2964, 13, 2, 47, 0x08000000U, "z13.2", "IBM z13 GA2"),
|
|
|
ae23c9 |
CPUDEF_INIT(0x2965, 13, 2, 47, 0x08000000U, "z13s", "IBM z13s GA1"),
|
|
|
ae23c9 |
CPUDEF_INIT(0x3906, 14, 1, 47, 0x08000000U, "z14", "IBM z14 GA1"),
|
|
|
ae23c9 |
+ CPUDEF_INIT(0x3906, 14, 2, 47, 0x08000000U, "z14.2", "IBM z14 GA2"),
|
|
|
ae23c9 |
CPUDEF_INIT(0x3907, 14, 1, 47, 0x08000000U, "z14ZR1", "IBM z14 Model ZR1 GA1"),
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
|
|
|
ae23c9 |
diff --git a/target/s390x/gen-features.c b/target/s390x/gen-features.c
|
|
|
ae23c9 |
index 7302269..dee8375 100644
|
|
|
ae23c9 |
--- a/target/s390x/gen-features.c
|
|
|
ae23c9 |
+++ b/target/s390x/gen-features.c
|
|
|
ae23c9 |
@@ -353,6 +353,8 @@ static uint16_t base_GEN14_GA1[] = {
|
|
|
ae23c9 |
S390_FEAT_ORDER_PRESERVING_COMPRESSION,
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#define base_GEN14_GA2 EmptyFeat
|
|
|
ae23c9 |
+
|
|
|
ae23c9 |
/* Full features (in order of release)
|
|
|
ae23c9 |
* Automatically includes corresponding base features.
|
|
|
ae23c9 |
* Full features are all features this hardware supports even if kvm/QEMU do not
|
|
|
ae23c9 |
@@ -480,6 +482,8 @@ static uint16_t full_GEN14_GA1[] = {
|
|
|
ae23c9 |
S390_FEAT_GROUP_MULTIPLE_EPOCH_PTFF,
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#define full_GEN14_GA2 EmptyFeat
|
|
|
ae23c9 |
+
|
|
|
ae23c9 |
/* Default features (in order of release)
|
|
|
ae23c9 |
* Automatically includes corresponding base features.
|
|
|
ae23c9 |
* Default features are all features this version of QEMU supports for this
|
|
|
ae23c9 |
@@ -552,6 +556,8 @@ static uint16_t default_GEN14_GA1[] = {
|
|
|
ae23c9 |
S390_FEAT_GROUP_MSA_EXT_8,
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#define default_GEN14_GA2 EmptyFeat
|
|
|
ae23c9 |
+
|
|
|
ae23c9 |
/* QEMU (CPU model) features */
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static uint16_t qemu_V2_11[] = {
|
|
|
ae23c9 |
@@ -660,6 +666,7 @@ static CpuFeatDefSpec CpuFeatDef[] = {
|
|
|
ae23c9 |
CPU_FEAT_INITIALIZER(GEN13_GA1),
|
|
|
ae23c9 |
CPU_FEAT_INITIALIZER(GEN13_GA2),
|
|
|
ae23c9 |
CPU_FEAT_INITIALIZER(GEN14_GA1),
|
|
|
ae23c9 |
+ CPU_FEAT_INITIALIZER(GEN14_GA2),
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
|
|
|
ae23c9 |
#define FEAT_GROUP_INITIALIZER(_name) \
|
|
|
ae23c9 |
--
|
|
|
ae23c9 |
1.8.3.1
|
|
|
ae23c9 |
|