Skip to content

Commit 8fb7256

Browse files
Vasily GorbikAlexander Gordeev
authored andcommitted
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>
1 parent 01dc3a0 commit 8fb7256

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/s390/configs/kasan.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Help: Enable KASan for debugging
22
CONFIG_KASAN=y
33
CONFIG_KASAN_INLINE=y
4+
CONFIG_KERNEL_IMAGE_BASE=0x7FFFE0000000

0 commit comments

Comments
 (0)