linux/arch
Christophe Leroy 71eb40fc53 powerpc/kasan: Fix boot failure with RELOCATABLE && FSL_BOOKE
When enabling CONFIG_RELOCATABLE and CONFIG_KASAN on FSL_BOOKE,
the kernel doesn't boot.

relocate_init() requires KASAN early shadow area to be set up because
it needs access to the device tree through generic functions.

Call kasan_early_init() before calling relocate_init()

Reported-by: Lexi Shao <shaolexi@huawei.com>
Fixes: 2edb16efc8 ("powerpc/32: Add KASAN support")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b58426f1664a4b344ff696d18cacf3b3e8962111.1575036985.git.christophe.leroy@c-s.fr
2019-12-05 00:11:43 +11:00
..
alpha pci-v5.5-changes 2019-12-03 13:58:22 -08:00
arc pci-v5.5-changes 2019-12-03 13:58:22 -08:00
arm TTY/Serial patches for 5.5-rc1 2019-12-03 14:09:14 -08:00
arm64 pci-v5.5-changes 2019-12-03 13:58:22 -08:00
c6x dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
csky dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
h8300 h8300: Move EXCEPTION_TABLE to RO_DATA segment 2019-11-04 18:12:55 +01:00
hexagon Kbuild updates for v5.5 2019-12-02 17:35:04 -08:00
ia64 Kbuild updates for v5.5 2019-12-02 17:35:04 -08:00
m68k Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2019-12-01 13:26:18 -08:00
microblaze dma-mapping updates for 5.5-rc1 2019-11-28 11:16:43 -08:00
mips pci-v5.5-changes 2019-12-03 13:58:22 -08:00
nds32 y2038: syscall implementation cleanups 2019-12-01 14:00:59 -08:00
nios2 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2019-12-01 13:26:18 -08:00
openrisc OpenRISC updates for 5.5 2019-12-02 17:18:43 -08:00
parisc y2038: syscall implementation cleanups 2019-12-01 14:00:59 -08:00
powerpc powerpc/kasan: Fix boot failure with RELOCATABLE && FSL_BOOKE 2019-12-05 00:11:43 +11:00
riscv pci-v5.5-changes 2019-12-03 13:58:22 -08:00
s390 pci-v5.5-changes 2019-12-03 13:58:22 -08:00
sh - New Functionality 2019-12-01 16:13:39 -08:00
sparc pci-v5.5-changes 2019-12-03 13:58:22 -08:00
um This pull request contains the following changes for UML: 2019-12-02 17:14:02 -08:00
unicore32 generic ioremap support 2019-11-28 10:57:12 -08:00
x86 pci-v5.5-changes 2019-12-03 13:58:22 -08:00
xtensa Xtensa updates for v5.5: 2019-12-03 12:46:44 -08:00
.gitignore
Kconfig Merge branch 'akpm' (patches from Andrew) 2019-12-01 20:36:41 -08:00