summaryrefslogtreecommitdiff
path: root/arch/s390/include
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2023-09-11 21:40:10 +0200
committerVasily Gorbik <gor@linux.ibm.com>2023-09-19 13:26:57 +0200
commit4f4cee9619edc877e8da913193968497e4e42cee (patch)
tree4c9bca12e4a59018e78f874bdec1e3056843c207 /arch/s390/include
parent0b6529e3dc1c60565f10ccf40533b127ab3262a1 (diff)
s390/ctlreg: add missing defines
Add a couple of missing control register defines which otherwise would prevent to convert other open-coded usages. Acked-by: Thomas Richter <tmricht@linux.ibm.com> Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r--arch/s390/include/asm/ctlreg.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/s390/include/asm/ctlreg.h b/arch/s390/include/asm/ctlreg.h
index 6582b1b9b97b..76ed70cca43c 100644
--- a/arch/s390/include/asm/ctlreg.h
+++ b/arch/s390/include/asm/ctlreg.h
@@ -10,10 +10,19 @@
#include <linux/bits.h>
+#define CR0_TRANSACTIONAL_EXECUTION BIT(63 - 8)
#define CR0_CLOCK_COMPARATOR_SIGN BIT(63 - 10)
+#define CR0_CRYPTOGRAPHY_COUNTER BIT(63 - 13)
+#define CR0_PAI_EXTENSION BIT(63 - 14)
+#define CR0_CPUMF_EXTRACTION_AUTH BIT(63 - 15)
+#define CR0_WARNING_TRACK BIT(63 - 30)
#define CR0_LOW_ADDRESS_PROTECTION BIT(63 - 35)
#define CR0_FETCH_PROTECTION_OVERRIDE BIT(63 - 38)
#define CR0_STORAGE_PROTECTION_OVERRIDE BIT(63 - 39)
+#define CR0_EDAT BIT(63 - 40)
+#define CR0_INSTRUCTION_EXEC_PROTECTION BIT(63 - 43)
+#define CR0_VECTOR BIT(63 - 46)
+#define CR0_MALFUNCTION_ALERT_SUBMASK BIT(63 - 48)
#define CR0_EMERGENCY_SIGNAL_SUBMASK BIT(63 - 49)
#define CR0_EXTERNAL_CALL_SUBMASK BIT(63 - 50)
#define CR0_CLOCK_COMPARATOR_SUBMASK BIT(63 - 52)
@@ -22,6 +31,11 @@
#define CR0_UNUSED_56 BIT(63 - 56)
#define CR0_INTERRUPT_KEY_SUBMASK BIT(63 - 57)
#define CR0_MEASUREMENT_ALERT_SUBMASK BIT(63 - 58)
+#define CR0_ETR_SUBMASK BIT(63 - 59)
+#define CR0_IUCV BIT(63 - 62)
+
+#define CR2_MIO_ADDRESSING BIT(63 - 58)
+#define CR2_GUARDED_STORAGE BIT(63 - 59)
#define CR14_UNUSED_32 BIT(63 - 32)
#define CR14_UNUSED_33 BIT(63 - 33)