Re: [PATCH v5 5/5] powerpc/inst: Optimise copy_inst_from_kernel_nofault()

2021-12-07 Thread Michael Ellerman
Nathan Chancellor writes: > On Tue, Dec 07, 2021 at 02:37:26PM +1100, Michael Ellerman wrote: >> Bill Wendling writes: >> > On Tue, Nov 30, 2021 at 10:38 AM Bill Wendling wrote: >> >> On Tue, Nov 30, 2021 at 10:17 AM Nathan Chancellor >> >> wrote: >> >> > On Tue, Nov 30, 2021 at 10:25:43PM +11

Re: [PATCH v5 5/5] powerpc/inst: Optimise copy_inst_from_kernel_nofault()

2021-12-06 Thread Christophe Leroy
Le 07/12/2021 à 07:41, Nathan Chancellor a écrit : > On Tue, Dec 07, 2021 at 05:45:08AM +, Christophe Leroy wrote: >> >> >> Le 07/12/2021 à 05:48, Nathan Chancellor a écrit : >>> On Tue, Dec 07, 2021 at 02:37:26PM +1100, Michael Ellerman wrote: Bill Wendling writes: > On Tue, Nov 30

Re: [PATCH v5 5/5] powerpc/inst: Optimise copy_inst_from_kernel_nofault()

2021-12-06 Thread Nathan Chancellor
On Tue, Dec 07, 2021 at 05:45:08AM +, Christophe Leroy wrote: > > > Le 07/12/2021 à 05:48, Nathan Chancellor a écrit : > > On Tue, Dec 07, 2021 at 02:37:26PM +1100, Michael Ellerman wrote: > >> Bill Wendling writes: > >>> On Tue, Nov 30, 2021 at 10:38 AM Bill Wendling wrote: > On Tue,

Re: [PATCH v5 5/5] powerpc/inst: Optimise copy_inst_from_kernel_nofault()

2021-12-06 Thread Christophe Leroy
Le 07/12/2021 à 05:48, Nathan Chancellor a écrit : > On Tue, Dec 07, 2021 at 02:37:26PM +1100, Michael Ellerman wrote: >> Bill Wendling writes: >>> On Tue, Nov 30, 2021 at 10:38 AM Bill Wendling wrote: On Tue, Nov 30, 2021 at 10:17 AM Nathan Chancellor wrote: > On Tue, Nov 30, 2

Re: [PATCH v5 5/5] powerpc/inst: Optimise copy_inst_from_kernel_nofault()

2021-12-06 Thread Nathan Chancellor
On Tue, Dec 07, 2021 at 02:37:26PM +1100, Michael Ellerman wrote: > Bill Wendling writes: > > On Tue, Nov 30, 2021 at 10:38 AM Bill Wendling wrote: > >> On Tue, Nov 30, 2021 at 10:17 AM Nathan Chancellor > >> wrote: > >> > On Tue, Nov 30, 2021 at 10:25:43PM +1100, Michael Ellerman wrote: > >> >

Re: [PATCH v5 5/5] powerpc/inst: Optimise copy_inst_from_kernel_nofault()

2021-12-06 Thread Michael Ellerman
Bill Wendling writes: > On Tue, Nov 30, 2021 at 10:38 AM Bill Wendling wrote: >> On Tue, Nov 30, 2021 at 10:17 AM Nathan Chancellor wrote: >> > On Tue, Nov 30, 2021 at 10:25:43PM +1100, Michael Ellerman wrote: >> > > Christophe Leroy writes: >> > > > Le 29/11/2021 à 23:55, kernel test robot a é

Re: [PATCH v5 5/5] powerpc/inst: Optimise copy_inst_from_kernel_nofault()

2021-11-30 Thread kernel test robot
Hi Christophe, I love your patch! Perhaps something to improve: [auto build test WARNING on powerpc/next] [also build test WARNING on v5.16-rc3 next-20211201] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documente

Re: [PATCH v5 5/5] powerpc/inst: Optimise copy_inst_from_kernel_nofault()

2021-11-30 Thread Nathan Chancellor
On Tue, Nov 30, 2021 at 10:25:43PM +1100, Michael Ellerman wrote: > Christophe Leroy writes: > > Le 29/11/2021 à 23:55, kernel test robot a écrit : > >> Hi Christophe, > >> > >> I love your patch! Perhaps something to improve: > >> > >> [auto build test WARNING on powerpc/next] > >> [also build

Re: [PATCH v5 5/5] powerpc/inst: Optimise copy_inst_from_kernel_nofault()

2021-11-30 Thread Michael Ellerman
Christophe Leroy writes: > Le 29/11/2021 à 23:55, kernel test robot a écrit : >> Hi Christophe, >> >> I love your patch! Perhaps something to improve: >> >> [auto build test WARNING on powerpc/next] >> [also build test WARNING on v5.16-rc3 next-20211129] >> [If your patch is applied to the wrong

Re: [PATCH v5 5/5] powerpc/inst: Optimise copy_inst_from_kernel_nofault()

2021-11-29 Thread Christophe Leroy
Le 29/11/2021 à 23:55, kernel test robot a écrit : Hi Christophe, I love your patch! Perhaps something to improve: [auto build test WARNING on powerpc/next] [also build test WARNING on v5.16-rc3 next-20211129] [If your patch is applied to the wrong git tree, kindly drop us a note. And when s

Re: [PATCH v5 5/5] powerpc/inst: Optimise copy_inst_from_kernel_nofault()

2021-11-29 Thread kernel test robot
Hi Christophe, I love your patch! Perhaps something to improve: [auto build test WARNING on powerpc/next] [also build test WARNING on v5.16-rc3 next-20211129] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documente

[PATCH v5 5/5] powerpc/inst: Optimise copy_inst_from_kernel_nofault()

2021-11-29 Thread Christophe Leroy
copy_inst_from_kernel_nofault() uses copy_from_kernel_nofault() to copy one or two 32bits words. This means calling an out-of-line function which itself calls back copy_from_kernel_nofault_allowed() then performs a generic copy with loops. Rewrite copy_inst_from_kernel_nofault() to do everything a