diff options
author | Benjamin Gray <[email protected]> | 2023-07-10 14:41:43 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-07-17 22:49:44 +1000 |
commit | ccb381e1af1ace292153c88eb1fffa5683d16a20 (patch) | |
tree | 44664e17eac5e0e070b7249c7f791499afe9435c /arch/powerpc/include/asm/elf.h | |
parent | 8739312ed2faa79df61d157ac44fda840646d444 (diff) |
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 <[email protected]>
Signed-off-by: Benjamin Gray <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'arch/powerpc/include/asm/elf.h')
0 files changed, 0 insertions, 0 deletions