ae23c9
From 382e149180b749ea95f62571b04ce87154d6fe54 Mon Sep 17 00:00:00 2001
ae23c9
From: David Hildenbrand <david@redhat.com>
ae23c9
Date: Wed, 22 May 2019 08:03:55 +0100
ae23c9
Subject: [PATCH 03/12] s390x/cpumodel: ignore csske for expansion
ae23c9
ae23c9
RH-Author: David Hildenbrand <david@redhat.com>
ae23c9
Message-id: <20190522080402.20173-4-david@redhat.com>
ae23c9
Patchwork-id: 88158
ae23c9
O-Subject: [RHEL8.1 qemu-kvm PATCH v2 03/10] s390x/cpumodel: ignore csske for expansion
ae23c9
Bugzilla: 1660912
ae23c9
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
ae23c9
RH-Acked-by: Jens Freimann <jfreimann@redhat.com>
ae23c9
RH-Acked-by: Thomas Huth <thuth@redhat.com>
ae23c9
ae23c9
csske will be removed in a future machine. Ignore it for expanding the
ae23c9
cpu model. Otherwise qemu falls back to z9.
ae23c9
ae23c9
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
ae23c9
Cc: qemu-stable@nongnu.org
ae23c9
Reviewed-by: David Hildenbrand <david@redhat.com>
ae23c9
Message-Id: <20190429090250.7648-3-borntraeger@de.ibm.com>
ae23c9
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
ae23c9
(cherry picked from commit eaf6f642abf1d4d24791b70728d4068428fc4658)
ae23c9
Signed-off-by: David Hildenbrand <david@redhat.com>
ae23c9
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
ae23c9
---
ae23c9
 target/s390x/cpu_models.c | 2 ++
ae23c9
 1 file changed, 2 insertions(+)
ae23c9
ae23c9
diff --git a/target/s390x/cpu_models.c b/target/s390x/cpu_models.c
ae23c9
index d2c16b8..b4d9047 100644
ae23c9
--- a/target/s390x/cpu_models.c
ae23c9
+++ b/target/s390x/cpu_models.c
ae23c9
@@ -1274,6 +1274,8 @@ static void init_ignored_base_feat(void)
ae23c9
          S390_FEAT_KM_TDEA_192,
ae23c9
          S390_FEAT_KIMD_SHA_1,
ae23c9
          S390_FEAT_KLMD_SHA_1,
ae23c9
+         /* CSSKE is deprecated on newer generations */
ae23c9
+         S390_FEAT_CONDITIONAL_SSKE,
ae23c9
     };
ae23c9
     int i;
ae23c9
 
ae23c9
-- 
ae23c9
1.8.3.1
ae23c9