Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Heiko Carstens and committed by
Vasily Gorbik
4f4cee96 0b6529e3

+14
+14
arch/s390/include/asm/ctlreg.h
··· 10 10 11 11 #include <linux/bits.h> 12 12 13 + #define CR0_TRANSACTIONAL_EXECUTION BIT(63 - 8) 13 14 #define CR0_CLOCK_COMPARATOR_SIGN BIT(63 - 10) 15 + #define CR0_CRYPTOGRAPHY_COUNTER BIT(63 - 13) 16 + #define CR0_PAI_EXTENSION BIT(63 - 14) 17 + #define CR0_CPUMF_EXTRACTION_AUTH BIT(63 - 15) 18 + #define CR0_WARNING_TRACK BIT(63 - 30) 14 19 #define CR0_LOW_ADDRESS_PROTECTION BIT(63 - 35) 15 20 #define CR0_FETCH_PROTECTION_OVERRIDE BIT(63 - 38) 16 21 #define CR0_STORAGE_PROTECTION_OVERRIDE BIT(63 - 39) 22 + #define CR0_EDAT BIT(63 - 40) 23 + #define CR0_INSTRUCTION_EXEC_PROTECTION BIT(63 - 43) 24 + #define CR0_VECTOR BIT(63 - 46) 25 + #define CR0_MALFUNCTION_ALERT_SUBMASK BIT(63 - 48) 17 26 #define CR0_EMERGENCY_SIGNAL_SUBMASK BIT(63 - 49) 18 27 #define CR0_EXTERNAL_CALL_SUBMASK BIT(63 - 50) 19 28 #define CR0_CLOCK_COMPARATOR_SUBMASK BIT(63 - 52) ··· 31 22 #define CR0_UNUSED_56 BIT(63 - 56) 32 23 #define CR0_INTERRUPT_KEY_SUBMASK BIT(63 - 57) 33 24 #define CR0_MEASUREMENT_ALERT_SUBMASK BIT(63 - 58) 25 + #define CR0_ETR_SUBMASK BIT(63 - 59) 26 + #define CR0_IUCV BIT(63 - 62) 27 + 28 + #define CR2_MIO_ADDRESSING BIT(63 - 58) 29 + #define CR2_GUARDED_STORAGE BIT(63 - 59) 34 30 35 31 #define CR14_UNUSED_32 BIT(63 - 32) 36 32 #define CR14_UNUSED_33 BIT(63 - 33)