s390x/cpumodel: mepochptff: warn when no mepoch and re-align group init
commitddf5d18af3ce3029d5b93222af5a9e8160d4c34b
authorCollin Walling <walling@linux.ibm.com>
Tue, 12 Feb 2019 01:16:55 +0000 (11 20:16 -0500)
committerCornelia Huck <cohuck@redhat.com>
Mon, 18 Feb 2019 10:25:43 +0000 (18 11:25 +0100)
tree9ce7adb314003c1a3e2f30eed689957a931e00bb
parentd646b16b21eca8d586dcbbd15bb47ed0387546c6
s390x/cpumodel: mepochptff: warn when no mepoch and re-align group init

The extended PTFF features (qsie, qtoue, stoe, stoue) are dependent
on the multiple-epoch facility (mepoch). Let's print a warning if these
features are enabled without mepoch.

While we're at it, let's move the FEAT_GROUP_INIT for mepochptff down
the s390_feature_groups list so it can be properly indexed with its
generated S390FeatGroup enum.

Signed-off-by: Collin Walling <walling@linux.ibm.com>
Message-Id: <20190212011657.18324-1-walling@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/cpu_features.c
target/s390x/cpu_models.c