linux-stable/arch/powerpc/mm/kasan
Benjamin Gray ccb381e1af powerpc/kasan: Disable KCOV in KASAN code
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
2023-07-17 22:49:44 +10:00
..
8xx.c mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
book3s_32.c powerpc/32s: Fix kasan_init_region() for KASAN 2022-01-16 20:51:05 +11:00
init_32.c powerpc/32s: Fix boot failure with KASAN + SMP + JUMP_LABEL_FEATURE_CHECK_DEBUG 2022-07-27 21:36:05 +10:00
init_book3e_64.c powerpc/64e: KASAN Full support for BOOK3E/64 2022-06-29 17:04:15 +10:00
init_book3s_64.c powerpc/64e: KASAN Full support for BOOK3E/64 2022-06-29 17:04:15 +10:00
Makefile powerpc/kasan: Disable KCOV in KASAN code 2023-07-17 22:49:44 +10:00