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>
This commit is contained in:
Heiko Carstens 2023-09-11 21:40:10 +02:00 committed by Vasily Gorbik
parent 0b6529e3dc
commit 4f4cee9619

View File

@ -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)