summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2024-12-10 12:35:49 +0100
committerAlexander Gordeev <agordeev@linux.ibm.com>2024-12-15 16:19:04 +0100
commit8fb72561602322bcd226460fc16f74f0bc003988 (patch)
treed72255c7c3b5ba28437d1c5f55090fc1a7717c55
parent01dc3a0d5cd67de28bcd48c2be196b26dd2dde9f (diff)
s390: Add KERNEL_IMAGE_BASE to kasan.config
Although Kconfig specifies: config KERNEL_IMAGE_BASE hex "Kernel image base address" range 0x100000 0x1FFFFFE0000000 if !KASAN range 0x100000 0x1BFFFFE0000000 if KASAN default 0x3FFE0000000 if !KASAN default 0x7FFFE0000000 if KASAN Running make defconfig or make debug_defconfig followed by make kasan.config results in a suboptimal CONFIG_KERNEL_IMAGE_BASE=0x3FFE0000000. Add CONFIG_KERNEL_IMAGE_BASE=0x7FFFE0000000 to kasan.config to address that. Acked-by: Heiko Carstens <hca@linux.ibm.com> Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
-rw-r--r--arch/s390/configs/kasan.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/configs/kasan.config b/arch/s390/configs/kasan.config
index b4e600717411..cefbe2ba1228 100644
--- a/arch/s390/configs/kasan.config
+++ b/arch/s390/configs/kasan.config
@@ -1,3 +1,4 @@
# Help: Enable KASan for debugging
CONFIG_KASAN=y
CONFIG_KASAN_INLINE=y
+CONFIG_KERNEL_IMAGE_BASE=0x7FFFE0000000