s390/mm: add debug user asce support
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 16 Nov 2020 07:06:41 +0000 (08:06 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 23 Nov 2020 11:01:12 +0000 (12:01 +0100)
commit062e527956d05fae02f143c0d5ff9e8525c6799f
tree8e070371d94d41cd6f6eb7eeb8801442ad73bdf2
parent0290c9e328e04052e317171953feb18177a34aed
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>
arch/s390/Kconfig.debug
arch/s390/configs/debug_defconfig
arch/s390/include/asm/uaccess.h
arch/s390/kernel/entry.S
arch/s390/lib/uaccess.c