android_kernel_xiaomi_sm8350/arch/powerpc/mm
Benjamin Gray 635278e97a powerpc/kasan: Disable KCOV in KASAN code
[ Upstream commit ccb381e1af1ace292153c88eb1fffa5683d16a20 ]

As per the generic KASAN code in mm/kasan, disable KCOV with
KCOV_INSTRUMENT := n in the makefile.

This fixes a ppc64 boot hang when KCOV and KASAN are enabled.
kasan_early_init() gets called before a PACA is initialised, but the
KCOV hook expects a valid PACA.

Suggested-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230710044143.146840-1-bgray@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-08-30 16:27:11 +02:00
..
book3s32
book3s64
kasan powerpc/kasan: Disable KCOV in KASAN code 2023-08-30 16:27:11 +02:00
nohash
ptdump
copro_fault.c
dma-noncoherent.c
drmem.c
fault.c
highmem.c
hugetlbpage.c
init_32.c
init_64.c powerpc/mm/altmap: Fix altmap boundary check 2023-08-11 11:54:00 +02:00
init-common.c
ioremap_32.c
ioremap_64.c
ioremap.c
Makefile
mem.c
mmap.c
mmu_context.c
mmu_decl.h
numa.c
pgtable_32.c
pgtable_64.c
pgtable-frag.c
pgtable.c
slice.c