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

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