Re: [PATCH] powerpc/ftrace: Ignore ftrace locations in exit text sections

2024-02-12 Thread Naveen N Rao
On Mon, Feb 12, 2024 at 07:31:03PM +, Christophe Leroy wrote: > > > Le 09/02/2024 à 08:59, Naveen N Rao a écrit : > > diff --git a/arch/powerpc/include/asm/sections.h > > b/arch/powerpc/include/asm/sections.h > > index ea26665f82cf..d389dcecdb0b 100644 > > ---

Re: [PATCH] powerpc/ftrace: Ignore ftrace locations in exit text sections

2024-02-12 Thread Benjamin Gray
On Fri, 2024-02-09 at 13:29 +0530, Naveen N Rao wrote: > Michael reported that we are seeing ftrace bug on bootup when KASAN > is > enabled, and if we are using -fpatchable-function-entry: > >     ftrace: allocating 47780 entries in 18 pages >     ftrace-powerpc: 0xc20b3d5c: No module

Re: [PATCH] powerpc/ftrace: Ignore ftrace locations in exit text sections

2024-02-12 Thread Michael Ellerman
Christophe Leroy writes: > Le 09/02/2024 à 08:59, Naveen N Rao a écrit : >> Michael reported that we are seeing ftrace bug on bootup when KASAN is >> enabled, and if we are using -fpatchable-function-entry: >> ... >> diff --git a/arch/powerpc/include/asm/sections.h >>

Re: [PATCH] powerpc/ftrace: Ignore ftrace locations in exit text sections

2024-02-12 Thread Christophe Leroy
Le 09/02/2024 à 08:59, Naveen N Rao a écrit : > Michael reported that we are seeing ftrace bug on bootup when KASAN is > enabled, and if we are using -fpatchable-function-entry: > > ftrace: allocating 47780 entries in 18 pages > ftrace-powerpc: 0xc20b3d5c: No module provided

[PATCH] powerpc/ftrace: Ignore ftrace locations in exit text sections

2024-02-09 Thread Naveen N Rao
Michael reported that we are seeing ftrace bug on bootup when KASAN is enabled, and if we are using -fpatchable-function-entry: ftrace: allocating 47780 entries in 18 pages ftrace-powerpc: 0xc20b3d5c: No module provided for non-kernel address [ ftrace bug