aboutsummaryrefslogtreecommitdiff
path: root/target/s390x/cpu_models.h
diff options
context:
space:
mode:
authorCollin Walling <walling@linux.ibm.com>2019-02-11 20:16:56 -0500
committerCornelia Huck <cohuck@redhat.com>2019-02-18 11:25:43 +0100
commit84176c7906ffaf59457bd7dff25a3ea32e00c3d8 (patch)
tree6ab9527c59029ddf48ba4625e647c5356d6853bf /target/s390x/cpu_models.h
parentddf5d18af3ce3029d5b93222af5a9e8160d4c34b (diff)
downloadqemu-84176c7906ffaf59457bd7dff25a3ea32e00c3d8.zip
qemu-84176c7906ffaf59457bd7dff25a3ea32e00c3d8.tar.gz
qemu-84176c7906ffaf59457bd7dff25a3ea32e00c3d8.tar.bz2
s390x/cpumodel: default enable mepoch for z14 and later
Latest systems and host kernels support mepoch, which is a feature that was meant to be supported for z14 GA1 from the get-go. Let's copy it to the z14 GA1 default CPU model. Machines s390-ccw-virtio-3.1 and older will retain the old CPU models and will not provide this bit nor the extended PTFF functions in the default model. Signed-off-by: Collin Walling <walling@linux.ibm.com> Message-Id: <20190212011657.18324-2-walling@linux.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/cpu_models.h')
-rw-r--r--target/s390x/cpu_models.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/s390x/cpu_models.h b/target/s390x/cpu_models.h
index 11cf538..174a99e 100644
--- a/target/s390x/cpu_models.h
+++ b/target/s390x/cpu_models.h
@@ -75,6 +75,8 @@ struct S390CPUModel {
void s390_cpudef_featoff(uint8_t gen, uint8_t ec_ga, S390Feat feat);
void s390_cpudef_featoff_greater(uint8_t gen, uint8_t ec_ga, S390Feat feat);
+void s390_cpudef_group_featoff_greater(uint8_t gen, uint8_t ec_ga,
+ S390FeatGroup group);
uint32_t s390_get_hmfai(void);
uint8_t s390_get_mha_pow(void);
uint32_t s390_get_ibc_val(void);