Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1393044 > unrolled thread

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

Started byMichael Neuling <mikey@neuling.org>
First post2016-05-03 07:30 +0200
Last post2016-05-03 08:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 7/9] powerpc/powernv: Add platform support for stop  instruction Michael Neuling <mikey@neuling.org> - 2016-05-03 07:30 +0200
    Re: [PATCH 7/9] powerpc/powernv: Add platform support for stop instruction Shreyas B Prabhu <shreyas@linux.vnet.ibm.com> - 2016-05-03 08:40 +0200

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

FromMichael Neuling <mikey@neuling.org>
Date2016-05-03 07:30 +0200
SubjectRe: [PATCH 7/9] powerpc/powernv: Add platform support for stop instruction
Message-ID<ruB4e-1OM-9@gated-at.bofh.it>
> 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

[toc] | [next] | [standalone]


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

FromShreyas B Prabhu <shreyas@linux.vnet.ibm.com>
Date2016-05-03 08:40 +0200
SubjectRe: [PATCH 7/9] powerpc/powernv: Add platform support for stop instruction
Message-ID<ruC9X-2UG-1@gated-at.bofh.it>
In reply to#1393044

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
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web