Re: [PATCH v8 13/30] powerpc: Add a probe_user_read_inst() function

2020-05-14 Thread Jordan Niethe
On Thu, May 14, 2020 at 3:46 PM Christophe Leroy wrote: > > > > Le 06/05/2020 à 05:40, Jordan Niethe a écrit : > > Introduce a probe_user_read_inst() function to use in cases where > > probe_user_read() is used for getting an instruction. This will be more > > useful for prefixed instructions. >

Re: [PATCH v8 13/30] powerpc: Add a probe_user_read_inst() function

2020-05-13 Thread Christophe Leroy
Le 06/05/2020 à 05:40, Jordan Niethe a écrit : Introduce a probe_user_read_inst() function to use in cases where probe_user_read() is used for getting an instruction. This will be more useful for prefixed instructions. Reviewed-by: Alistair Popple Signed-off-by: Jordan Niethe --- v6: - New

Re: [PATCH v8 13/30] powerpc: Add a probe_user_read_inst() function

2020-05-13 Thread Jordan Niethe
On Wed, May 13, 2020 at 10:52 PM Michael Ellerman wrote: > > Jordan Niethe writes: > > diff --git a/arch/powerpc/lib/inst.c b/arch/powerpc/lib/inst.c > > new file mode 100644 > > index ..eaf786afad2b > > --- /dev/null > > +++ b/arch/powerpc/lib/inst.c > > @@ -0,0 +1,18 @@ > > +//

Re: [PATCH v8 13/30] powerpc: Add a probe_user_read_inst() function

2020-05-13 Thread Michael Ellerman
Jordan Niethe writes: > diff --git a/arch/powerpc/lib/inst.c b/arch/powerpc/lib/inst.c > new file mode 100644 > index ..eaf786afad2b > --- /dev/null > +++ b/arch/powerpc/lib/inst.c > @@ -0,0 +1,18 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > +/* > + * Copyright 2020, IBM