Skip to contentSkip to conversation

target/s390x/cpu.h: Remove unused SIGP_MODE defines

PATCH In review Thomas Huth 3 participants 3 messages Oct 15, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target/s390x/cpu.h: Remove unused SIGP_MODE defines

These are unused since commit 075e52b816648f21 ("s390x/cpumodel:
we are always in zarchitecture mode") and it's unlikely that we will ever need them again. So let's simply remove them now.

---
 target/s390x/cpu.h | 5 -----
 1 file changed, 5 deletions(-)
target/s390x/cpu.h +0 -5
index 3153d053e9..ca3845d023 100644
@@ -674,11 +674,6 @@ QEMU_BUILD_BUG_ON(sizeof(SysIB) != 4096);
 #define SIGP_STAT_INVALID_ORDER     0x00000002UL
 #define SIGP_STAT_RECEIVER_CHECK    0x00000001UL
 
-/* SIGP SET ARCHITECTURE modes */
-#define SIGP_MODE_ESA_S390 0
-#define SIGP_MODE_Z_ARCH_TRANS_ALL_PSW 1
-#define SIGP_MODE_Z_ARCH_TRANS_CUR_PSW 2
-
 /* SIGP order code mask corresponding to bit positions 56-63 */
 #define SIGP_ORDER_MASK 0x000000ff
 
Signature · 1 line
2.27.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 16 lines · Thomas Huth

These are unused since commit 075e52b816648f21 ("s390x/cpumodel:
we are always in zarchitecture mode") and it's unlikely that we will ever need them again. So let's simply remove them now.

---
 target/s390x/cpu.h | 5 -----
 1 file changed, 5 deletions(-)
target/s390x/cpu.h +0 -0
index 3153d053e9..ca3845d023 100644
@@ -674,11 +674,6 @@ QEMU_BUILD_BUG_ON(sizeof(SysIB) != 4096);
 #define SIGP_STAT_INVALID_ORDER     0x00000002UL

target/s390x/cpu.h QEMU_BUILD_BUG_ON(sizeof(SysIB) != 4096); · line 679

Quoted 10 lines
target/s390x/cpu.h +0 -5
 #define SIGP_STAT_RECEIVER_CHECK    0x00000001UL
 
-/* SIGP SET ARCHITECTURE modes */
-#define SIGP_MODE_ESA_S390 0
-#define SIGP_MODE_Z_ARCH_TRANS_ALL_PSW 1
-#define SIGP_MODE_Z_ARCH_TRANS_CUR_PSW 2
-
 /* SIGP order code mask corresponding to bit positions 56-63 */
 #define SIGP_ORDER_MASK 0x000000ff
 
Signature · 3 lines
Thanks,

David / dhildenb