diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-11-29 14:26:41 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-12-05 00:11:43 +1100 |
commit | 71eb40fc53371bc247c8066ae76ad9e22ae1e18d (patch) | |
tree | 530b67211042d760e6a6797d3f1ca76e8c350ab0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 63de37476ebd1e9bab6a9e17186dc5aa1da9ea99 (diff) |
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: 2edb16efc899 ("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
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions