thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone

Blame SOURCES/kvm-pc-bios-s390x-Rename-PSW_MASK_ZMODE-to-PSW_MASK_64.patch

8fced6
From 494ce6ed658a806af36d4f50600e44740a446011 Mon Sep 17 00:00:00 2001
8fced6
From: Thomas Huth <thuth@redhat.com>
8fced6
Date: Thu, 10 Dec 2020 08:32:38 -0500
8fced6
Subject: [PATCH 2/5] pc-bios: s390x: Rename PSW_MASK_ZMODE to PSW_MASK_64
8fced6
8fced6
RH-Author: Thomas Huth <thuth@redhat.com>
8fced6
Message-id: <20201210083241.173509-2-thuth@redhat.com>
8fced6
Patchwork-id: 100370
8fced6
O-Subject: [RHEL-8.4.0 qemu-kvm PATCH 1/4] pc-bios: s390x: Rename PSW_MASK_ZMODE to PSW_MASK_64
8fced6
Bugzilla: 1903135
8fced6
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
8fced6
RH-Acked-by: Jens Freimann <jfreimann@redhat.com>
8fced6
RH-Acked-by: David Hildenbrand <david@redhat.com>
8fced6
8fced6
From: Janosch Frank <frankja@linux.ibm.com>
8fced6
8fced6
This constant enables 64 bit addressing, not the ESAME architecture,
8fced6
so it shouldn't be named ZMODE.
8fced6
8fced6
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
8fced6
Reviewed-by: Thomas Huth <thuth@redhat.com>
8fced6
Message-Id: <20200624075226.92728-7-frankja@linux.ibm.com>
8fced6
Signed-off-by: Thomas Huth <thuth@redhat.com>
8fced6
(cherry picked from commit b88faa1c899db2fae8b5b168aeb6c47bef090f27)
8fced6
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
8fced6
---
8fced6
 pc-bios/s390-ccw/s390-arch.h | 2 +-
8fced6
 1 file changed, 1 insertion(+), 1 deletion(-)
8fced6
8fced6
diff --git a/pc-bios/s390-ccw/s390-arch.h b/pc-bios/s390-ccw/s390-arch.h
8fced6
index 5f36361c022..73852029d4e 100644
8fced6
--- a/pc-bios/s390-ccw/s390-arch.h
8fced6
+++ b/pc-bios/s390-ccw/s390-arch.h
8fced6
@@ -29,7 +29,7 @@ _Static_assert(sizeof(struct PSWLegacy) == 8, "PSWLegacy size incorrect");
8fced6
 #define PSW_MASK_WAIT       0x0002000000000000ULL
8fced6
 #define PSW_MASK_EAMODE     0x0000000100000000ULL
8fced6
 #define PSW_MASK_BAMODE     0x0000000080000000ULL
8fced6
-#define PSW_MASK_ZMODE      (PSW_MASK_EAMODE | PSW_MASK_BAMODE)
8fced6
+#define PSW_MASK_64         (PSW_MASK_EAMODE | PSW_MASK_BAMODE)
8fced6
 
8fced6
 /* Low core mapping */
8fced6
 typedef struct LowCore {
8fced6
-- 
8fced6
2.27.0
8fced6