Re: [PATCH] powerpc64/ftrace: Fix ftrace for clang builds

2022-08-13 Thread Michael Ellerman
On Tue, 9 Aug 2022 15:29:07 +0530, Naveen N. Rao wrote: > Clang doesn't support -mprofile-kernel ABI, so guard the checks against > CONFIG_DYNAMIC_FTRACE_WITH_REGS, rather than the elf ABI version. > > Applied to powerpc/fixes. [1/1] powerpc64/ftrace: Fix ftrace for clang builds https://g

Re: [PATCH] powerpc64/ftrace: Fix ftrace for clang builds

2022-08-09 Thread Ondrej Mosnáček
On Tue, Aug 9, 2022 at 11:59 AM Naveen N. Rao wrote: > Clang doesn't support -mprofile-kernel ABI, so guard the checks against > CONFIG_DYNAMIC_FTRACE_WITH_REGS, rather than the elf ABI version. > > Fixes: 23b44fc248f420 ("powerpc/ftrace: Make __ftrace_make_{nop/call}() > common to PPC32 and PPC6

[PATCH] powerpc64/ftrace: Fix ftrace for clang builds

2022-08-09 Thread Naveen N. Rao
Clang doesn't support -mprofile-kernel ABI, so guard the checks against CONFIG_DYNAMIC_FTRACE_WITH_REGS, rather than the elf ABI version. Fixes: 23b44fc248f420 ("powerpc/ftrace: Make __ftrace_make_{nop/call}() common to PPC32 and PPC64") Reported-by: Nick Desaulniers Reported-by: Ondrej Mosnacek