[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-s390x] [PATCH v2 08/10] s390x/cpumodel: add gen15 defintions
From: |
Christian Borntraeger |
Subject: |
[qemu-s390x] [PATCH v2 08/10] s390x/cpumodel: add gen15 defintions |
Date: |
Fri, 26 Apr 2019 07:10:01 -0400 |
add several new features (msa9, sort, deflate, additional vector
instructions, new general purpose instructions) to generation 15.
Also disable csske and bpb from the default model. This will allow
to migrate gen15 machines to future machines that do not have these
features.
Signed-off-by: Christian Borntraeger <address@hidden>
---
target/s390x/gen-features.c | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/target/s390x/gen-features.c b/target/s390x/gen-features.c
index 8fc2e8e72f..6260f56dc1 100644
--- a/target/s390x/gen-features.c
+++ b/target/s390x/gen-features.c
@@ -419,6 +419,10 @@ static uint16_t base_GEN14_GA1[] = {
#define base_GEN14_GA2 EmptyFeat
+static uint16_t base_GEN15_GA1[] = {
+ S390_FEAT_MISC_INSTRUCTION_EXT3,
+};
+
/* Full features (in order of release)
* Automatically includes corresponding base features.
* Full features are all features this hardware supports even if kvm/QEMU do
not
@@ -548,6 +552,16 @@ static uint16_t full_GEN14_GA1[] = {
#define full_GEN14_GA2 EmptyFeat
+static uint16_t full_GEN15_GA1[] = {
+ S390_FEAT_VECTOR_ENH2,
+ S390_FEAT_GROUP_ENH_SORT,
+ S390_FEAT_GROUP_DEFLATE_CONVERSION,
+ S390_FEAT_VECTOR_BCD_ENH,
+ S390_FEAT_GROUP_MSA_EXT_9,
+ S390_FEAT_GROUP_MSA_EXT_9_PCKMO,
+ S390_FEAT_ETOKEN,
+};
+
/* Default features (in order of release)
* Automatically includes corresponding base features.
* Default features are all features this version of QEMU supports for this
@@ -624,6 +638,16 @@ static uint16_t default_GEN14_GA1[] = {
#define default_GEN14_GA2 EmptyFeat
+static uint16_t default_GEN15_GA1[] = {
+ S390_FEAT_VECTOR_ENH2,
+ S390_FEAT_GROUP_ENH_SORT,
+ S390_FEAT_GROUP_DEFLATE_CONVERSION,
+ S390_FEAT_VECTOR_BCD_ENH,
+ S390_FEAT_GROUP_MSA_EXT_9,
+ S390_FEAT_GROUP_MSA_EXT_9_PCKMO,
+ S390_FEAT_ETOKEN,
+};
+
/* QEMU (CPU model) features */
static uint16_t qemu_V2_11[] = {
@@ -740,6 +764,7 @@ static CpuFeatDefSpec CpuFeatDef[] = {
CPU_FEAT_INITIALIZER(GEN13_GA2),
CPU_FEAT_INITIALIZER(GEN14_GA1),
CPU_FEAT_INITIALIZER(GEN14_GA2),
+ CPU_FEAT_INITIALIZER(GEN15_GA1),
};
#define FEAT_GROUP_INITIALIZER(_name) \
--
2.17.1
- Re: [qemu-s390x] [PATCH v2 10/10] s390x/cpumodel: wire up 8561 and 8562 as gen15 machines, (continued)
- Re: [qemu-s390x] [PATCH v2 10/10] s390x/cpumodel: wire up 8561 and 8562 as gen15 machines, David Hildenbrand, 2019/04/26
- Re: [qemu-s390x] [PATCH v2 10/10] s390x/cpumodel: wire up 8561 and 8562 as gen15 machines, Christian Borntraeger, 2019/04/26
- Re: [qemu-s390x] [PATCH v2 10/10] s390x/cpumodel: wire up 8561 and 8562 as gen15 machines, David Hildenbrand, 2019/04/26
- Re: [qemu-s390x] [PATCH v2 10/10] s390x/cpumodel: wire up 8561 and 8562 as gen15 machines, Christian Borntraeger, 2019/04/26
- Re: [qemu-s390x] [PATCH v2 10/10] s390x/cpumodel: wire up 8561 and 8562 as gen15 machines, David Hildenbrand, 2019/04/26
- Re: [qemu-s390x] [PATCH v2 10/10] s390x/cpumodel: wire up 8561 and 8562 as gen15 machines, Cornelia Huck, 2019/04/26
- Re: [qemu-s390x] [PATCH v2 10/10] s390x/cpumodel: wire up 8561 and 8562 as gen15 machines, Christian Borntraeger, 2019/04/29
- Re: [qemu-s390x] [PATCH v2 10/10] s390x/cpumodel: wire up 8561 and 8562 as gen15 machines, Cornelia Huck, 2019/04/29
- Re: [qemu-s390x] [PATCH v2 10/10] s390x/cpumodel: wire up 8561 and 8562 as gen15 machines, Christian Borntraeger, 2019/04/29
- Re: [qemu-s390x] [PATCH v2 10/10] s390x/cpumodel: wire up 8561 and 8562 as gen15 machines, David Hildenbrand, 2019/04/29
[qemu-s390x] [PATCH v2 08/10] s390x/cpumodel: add gen15 defintions,
Christian Borntraeger <=
[qemu-s390x] [PATCH v2 07/10] s390x/cpumodel: add Deflate-conversion facility, Christian Borntraeger, 2019/04/26
[qemu-s390x] [PATCH v2 09/10] s390x/cpumodel: disable csske and bpb from gen15 cpu models onwards, Christian Borntraeger, 2019/04/26
[qemu-s390x] [PATCH v2 01/10] linux header sync, Christian Borntraeger, 2019/04/26
[qemu-s390x] [PATCH v2 06/10] s390x/cpumodel: enhanced sort facility, Christian Borntraeger, 2019/04/26
[qemu-s390x] [PATCH v2 04/10] s390x/cpumodel: msa9 facility, Christian Borntraeger, 2019/04/26
Re: [qemu-s390x] [Qemu-devel] [PATCH v2 00/10] s390x: new guest features, no-reply, 2019/04/26