cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-s390x-cpumodel-Miscellaneous-Instruction-Extensions-.patch

b38b0f
From 2a3b4f0f979edaf74a17204565209734a2b014ef Mon Sep 17 00:00:00 2001
b38b0f
From: David Hildenbrand <david@redhat.com>
b38b0f
Date: Wed, 22 May 2019 08:03:56 +0100
b38b0f
Subject: [PATCH 04/12] s390x/cpumodel: Miscellaneous-Instruction-Extensions
b38b0f
 Facility 3
b38b0f
b38b0f
RH-Author: David Hildenbrand <david@redhat.com>
b38b0f
Message-id: <20190522080402.20173-5-david@redhat.com>
b38b0f
Patchwork-id: 88151
b38b0f
O-Subject: [RHEL8.1 qemu-kvm PATCH v2 04/10] s390x/cpumodel: Miscellaneous-Instruction-Extensions Facility 3
b38b0f
Bugzilla: 1660912
b38b0f
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
b38b0f
RH-Acked-by: Jens Freimann <jfreimann@redhat.com>
b38b0f
RH-Acked-by: Thomas Huth <thuth@redhat.com>
b38b0f
b38b0f
Provide the "Miscellaneous-Instruction-Extensions Facility 3" via
b38b0f
stfle.61.
b38b0f
b38b0f
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
b38b0f
Reviewed-by: David Hildenbrand <david@redhat.com>
b38b0f
Message-Id: <20190429090250.7648-4-borntraeger@de.ibm.com>
b38b0f
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
b38b0f
(cherry picked from commit 2ec038836fa03103596023e4a1ad7e6eb50ee7c7)
b38b0f
Signed-off-by: David Hildenbrand <david@redhat.com>
b38b0f
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
b38b0f
---
b38b0f
 target/s390x/cpu_features.c     | 1 +
b38b0f
 target/s390x/cpu_features_def.h | 1 +
b38b0f
 2 files changed, 2 insertions(+)
b38b0f
b38b0f
diff --git a/target/s390x/cpu_features.c b/target/s390x/cpu_features.c
b38b0f
index 1843c84..bbd8902 100644
b38b0f
--- a/target/s390x/cpu_features.c
b38b0f
+++ b/target/s390x/cpu_features.c
b38b0f
@@ -83,6 +83,7 @@ static const S390FeatDef s390_features[] = {
b38b0f
     FEAT_INIT("minste2", S390_FEAT_TYPE_STFL, 58, "Miscellaneous-instruction-extensions facility 2"),
b38b0f
     FEAT_INIT("sema", S390_FEAT_TYPE_STFL, 59, "Semaphore-assist facility"),
b38b0f
     FEAT_INIT("tsi", S390_FEAT_TYPE_STFL, 60, "Time-slice Instrumentation facility"),
b38b0f
+    FEAT_INIT("minste3", S390_FEAT_TYPE_STFL, 61, "Miscellaneous-Instruction-Extensions Facility 3"),
b38b0f
     FEAT_INIT("ri", S390_FEAT_TYPE_STFL, 64, "CPU runtime-instrumentation facility"),
b38b0f
     FEAT_INIT("zpci", S390_FEAT_TYPE_STFL, 69, "z/PCI facility"),
b38b0f
     FEAT_INIT("aen", S390_FEAT_TYPE_STFL, 71, "General-purpose-adapter-event-notification facility"),
b38b0f
diff --git a/target/s390x/cpu_features_def.h b/target/s390x/cpu_features_def.h
b38b0f
index 5fc7e7b..31dd678 100644
b38b0f
--- a/target/s390x/cpu_features_def.h
b38b0f
+++ b/target/s390x/cpu_features_def.h
b38b0f
@@ -71,6 +71,7 @@ typedef enum {
b38b0f
     S390_FEAT_MISC_INSTRUCTION_EXT,
b38b0f
     S390_FEAT_SEMAPHORE_ASSIST,
b38b0f
     S390_FEAT_TIME_SLICE_INSTRUMENTATION,
b38b0f
+    S390_FEAT_MISC_INSTRUCTION_EXT3,
b38b0f
     S390_FEAT_RUNTIME_INSTRUMENTATION,
b38b0f
     S390_FEAT_ZPCI,
b38b0f
     S390_FEAT_ADAPTER_EVENT_NOTIFICATION,
b38b0f
-- 
b38b0f
1.8.3.1
b38b0f