Re: [PATCH] powerpc/kasan: Disable KCOV in KASAN code

2023-07-20 Thread Michael Ellerman
On Mon, 10 Jul 2023 14:41:43 +1000, Benjamin Gray wrote: > 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 >

[PATCH] powerpc/kasan: Disable KCOV in KASAN code

2023-07-09 Thread Benjamin Gray
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 Sig