yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

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

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