summaryrefslogtreecommitdiff
path: root/arch/s390/Kconfig.debug
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2020-11-16 10:06:41 +0300
committerHeiko Carstens <hca@linux.ibm.com>2020-11-23 14:01:12 +0300
commit062e527956d05fae02f143c0d5ff9e8525c6799f (patch)
tree8e070371d94d41cd6f6eb7eeb8801442ad73bdf2 /arch/s390/Kconfig.debug
parent0290c9e328e04052e317171953feb18177a34aed (diff)
downloadlinux-062e527956d05fae02f143c0d5ff9e8525c6799f.tar.xz
s390/mm: add debug user asce support
Verify on exit to user space that always - the primary ASCE (cr1) is set to kernel ASCE - the secondary ASCE (cr7) is set to user ASCE If this is not the case: panic since something went terribly wrong. Reviewed-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig.debug')
-rw-r--r--arch/s390/Kconfig.debug8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/s390/Kconfig.debug b/arch/s390/Kconfig.debug
index ab48b694ade8..6bfaceebbbc0 100644
--- a/arch/s390/Kconfig.debug
+++ b/arch/s390/Kconfig.debug
@@ -5,3 +5,11 @@ config TRACE_IRQFLAGS_SUPPORT
config EARLY_PRINTK
def_bool y
+
+config DEBUG_USER_ASCE
+ bool "Debug User ASCE"
+ help
+ Check on exit to user space that address space control
+ elements are setup correctly.
+
+ If unsure, say N.