Re: [PATCH 7/9] powerpc/powernv: Add platform support for stop instruction

From: Michael Neuling
Date: Tue May 03 2016 - 01:25:56 EST



> diff --git a/arch/powerpc/include/asm/cputable.h b/arch/powerpc/include/asm/cputable.h
> index df4fb5f..a4739a1 100644
> --- a/arch/powerpc/include/asm/cputable.h
> +++ b/arch/powerpc/include/asm/cputable.h
> @@ -205,6 +205,7 @@ enum {
> Â#define CPU_FTR_DABRX LONG_ASM_CONST(0x0800000000000000)
> Â#define CPU_FTR_PMAO_BUG LONG_ASM_CONST(0x1000000000000000)
> Â#define CPU_FTR_SUBCORE LONG_ASM_CONST(0x2000000000000000)
> +#define CPU_FTR_STOP_INST LONG_ASM_CONST(0x4000000000000000)

In general, we are putting all the POWER9 features underÂCPU_FTR_ARCH_300.
Is there a reason you need this separate bit?

CPU_FTR bits are fairly scarce these days.

Mikey