Re: [PATCH v8 08/30] powerpc: Use a function for getting the instruction op code

2020-05-17 Thread Jordan Niethe
On Sat, May 16, 2020 at 9:08 PM Michael Ellerman wrote: > > Jordan Niethe writes: > > mpe, as suggested by Christophe could you please add this. > > I did that and ... > > > diff --git a/arch/powerpc/include/asm/inst.h > > b/arch/powerpc/include/asm/inst.h > > --- a/arch/powerpc/include/asm/inst

Re: [PATCH v8 08/30] powerpc: Use a function for getting the instruction op code

2020-05-16 Thread Michael Ellerman
Jordan Niethe writes: > mpe, as suggested by Christophe could you please add this. I did that and ... > diff --git a/arch/powerpc/include/asm/inst.h b/arch/powerpc/include/asm/inst.h > --- a/arch/powerpc/include/asm/inst.h > +++ b/arch/powerpc/include/asm/inst.h > @@ -2,6 +2,8 @@ > #ifndef _ASM

Re: [PATCH v8 08/30] powerpc: Use a function for getting the instruction op code

2020-05-15 Thread Jordan Niethe
mpe, as suggested by Christophe could you please add this. diff --git a/arch/powerpc/include/asm/inst.h b/arch/powerpc/include/asm/inst.h --- a/arch/powerpc/include/asm/inst.h +++ b/arch/powerpc/include/asm/inst.h @@ -2,6 +2,8 @@ #ifndef _ASM_INST_H #define _ASM_INST_H +#include + /* * Instr

[PATCH v8 08/30] powerpc: Use a function for getting the instruction op code

2020-05-05 Thread Jordan Niethe
In preparation for using a data type for instructions that can not be directly used with the '>>' operator use a function for getting the op code of an instruction. Reviewed-by: Alistair Popple Signed-off-by: Jordan Niethe --- v4: New to series v6: - Rename ppc_inst_primary() to ppc_inst_primary