thebeanogamer / rpms / qemu-kvm

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