yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

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

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