[PATCH] powerpc: Add new HWCAP bits

Alistair Popple alistair at popple.id.au
Wed Apr 1 10:27:58 AEDT 2020


On Wednesday, 1 April 2020 9:47:03 AM AEDT Michael Neuling wrote:
> On Tue, 2020-03-31 at 12:12 -0300, Tulio Magno Quites Machado Filho wrote:
> > Alistair Popple <alistair at popple.id.au> writes:
> > > diff --git a/arch/powerpc/include/uapi/asm/cputable.h
> > > b/arch/powerpc/include/uapi/asm/cputable.h
> > > index 540592034740..8888c6fe10b2 100644
> > > --- a/arch/powerpc/include/uapi/asm/cputable.h
> > > +++ b/arch/powerpc/include/uapi/asm/cputable.h
> > > @@ -50,6 +50,8 @@
> > > 
> > >  #define PPC_FEATURE2_DARN		0x00200000 /* darn random number insn */
> > >  #define PPC_FEATURE2_SCV		0x00100000 /* scv syscall */
> > >  #define PPC_FEATURE2_HTM_NO_SUSPEND	0x00080000 /* TM w/out suspended
> > > 
> > > state */
> > > +#define PPC_FEATURE2_ARCH_3_10		0x00040000 /* ISA 3.10 */
> > 
> > I think this should have been:
> > 
> > #define PPC_FEATURE2_ARCH_3_1		0x00040000 /* ISA 3.1 */
> 
> Agreed. That's the new name.
> 
> Sorry Al I should have caught that earlier.

No worries, I missed it too. Will send v2.

- Alistair

> Mikey






More information about the Linuxppc-dev mailing list