From: Vasily Gorbik Date: Tue, 10 Dec 2024 11:35:49 +0000 (+0100) Subject: s390: Add KERNEL_IMAGE_BASE to kasan.config X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8fb72561602322bcd226460fc16f74f0bc003988;p=linux.git 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 Reviewed-by: Alexander Gordeev Signed-off-by: Vasily Gorbik Signed-off-by: Alexander Gordeev --- 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