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