Re: [PATCH v2 5/6] powerpc/64: Add support for out-of-line static calls

2022-09-26 Thread Christophe Leroy
Le 27/09/2022 à 07:18, Benjamin Gray a écrit : > On Mon, 2022-09-26 at 13:16 +, Christophe Leroy wrote: >> Build failure with GCC 5.5 (ppc64le_defconfig): >> >>    CC  arch/powerpc/kernel/ptrace/ptrace.o >> {standard input}: Assembler messages: >> {standard input}:10: Error: .localentry

Re: [PATCH v2 5/6] powerpc/64: Add support for out-of-line static calls

2022-09-26 Thread Christophe Leroy
Le 27/09/2022 à 05:21, Benjamin Gray a écrit : > On Mon, 2022-09-26 at 14:54 +, Christophe Leroy wrote: >>> diff --git a/arch/powerpc/kernel/static_call.c >>> b/arch/powerpc/kernel/static_call.c >>> index 863a7aa24650..ecbb74e1b4d3 100644 >>> --- a/arch/powerpc/kernel/static_call.c >>> +++ b/

Re: [PATCH v2 5/6] powerpc/64: Add support for out-of-line static calls

2022-09-26 Thread Benjamin Gray
On Mon, 2022-09-26 at 13:16 +, Christophe Leroy wrote: > Build failure with GCC 5.5 (ppc64le_defconfig): > >    CC  arch/powerpc/kernel/ptrace/ptrace.o > {standard input}: Assembler messages: > {standard input}:10: Error: .localentry expression for > `__SCT__tp_func_sys_enter' is not a va

Re: [PATCH v2 5/6] powerpc/64: Add support for out-of-line static calls

2022-09-26 Thread Benjamin Gray
On Mon, 2022-09-26 at 14:54 +, Christophe Leroy wrote: > > diff --git a/arch/powerpc/kernel/static_call.c > > b/arch/powerpc/kernel/static_call.c > > index 863a7aa24650..ecbb74e1b4d3 100644 > > --- a/arch/powerpc/kernel/static_call.c > > +++ b/arch/powerpc/kernel/static_call.c > > @@ -4,30 +4,1

Re: [PATCH v2 5/6] powerpc/64: Add support for out-of-line static calls

2022-09-26 Thread Christophe Leroy
Le 26/09/2022 à 08:43, Benjamin Gray a écrit : > Implement static call support for 64 bit V2 ABI. This requires > making sure the TOC is kept correct across kernel-module > boundaries. As a secondary concern, it tries to use the local > entry point of a target wherever possible. It does so by > c

Re: [PATCH v2 5/6] powerpc/64: Add support for out-of-line static calls

2022-09-26 Thread Christophe Leroy
Le 26/09/2022 à 08:43, Benjamin Gray a écrit : > Implement static call support for 64 bit V2 ABI. This requires > making sure the TOC is kept correct across kernel-module > boundaries. As a secondary concern, it tries to use the local > entry point of a target wherever possible. It does so by > c