summaryrefslogtreecommitdiffstats
path: root/arch/s390/Kconfig
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2017-11-19 11:54:14 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-10-09 11:21:29 +0200
commit5dff03813f46f267bc1ecb334901e916346692ff (patch)
treee9bbcc7ed939aca9e7c180d7946e1f728bc7883c /arch/s390/Kconfig
parents390/kasan: free early identity mapping structures (diff)
downloadlinux-5dff03813f46f267bc1ecb334901e916346692ff.tar.xz
linux-5dff03813f46f267bc1ecb334901e916346692ff.zip
s390/kasan: add option for 4-level paging support
By default 3-level paging is used when the kernel is compiled with kasan support. Add 4-level paging option to support systems with more then 3TB of physical memory and to cover 4-level paging specific code with kasan as well. Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/Kconfig')
-rw-r--r--arch/s390/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 24586257c5cd..cc8313550493 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -59,6 +59,7 @@ config ARCH_SUPPORTS_UPROBES
config KASAN_SHADOW_OFFSET
hex
depends on KASAN
+ default 0x18000000000000 if KASAN_S390_4_LEVEL_PAGING
default 0x30000000000
config S390