Re: [PATCH 7/9] powerpc/powernv: Add platform support for stop instruction
From: Shreyas B Prabhu
Date: Tue May 03 2016 - 02:30:25 EST
On 05/03/2016 10:55 AM, Michael Neuling wrote:
>
>> 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?
>
No I don't need a separate bit, I'll use CPU_FTR_ARCH_300.
Thanks,
Shreyas
> CPU_FTR bits are fairly scarce these days.
>
> Mikey
>