Re: [PATCH] powerpc/ftrace: Fix ftrace bug with KASAN=y

2024-11-17 Thread Michael Ellerman
On Thu, 07 Nov 2024 22:16:30 +1100, Michael Ellerman wrote: > Booting a KASAN=y kernel with the recently added ftrace out-of-line > support causes a warning at boot: > > [ cut here ] > Stub index overflow (1729 > 1728) > WARNING: CPU: 0 PID: 0 at arch/powerpc/kernel/t

[PATCH] powerpc/ftrace: Fix ftrace bug with KASAN=y

2024-11-07 Thread Michael Ellerman
Booting a KASAN=y kernel with the recently added ftrace out-of-line support causes a warning at boot: [ cut here ] Stub index overflow (1729 > 1728) WARNING: CPU: 0 PID: 0 at arch/powerpc/kernel/trace/ftrace.c:209 ftrace_init_nop+0x408/0x444 ... NIP ftrace_init_n