From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932506AbcECGaS (ORCPT ); Tue, 3 May 2016 02:30:18 -0400 Received: from e23smtp07.au.ibm.com ([202.81.31.140]:45021 "EHLO e23smtp07.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932223AbcECGaR (ORCPT ); Tue, 3 May 2016 02:30:17 -0400 X-IBM-Helo: d23dlp01.au.ibm.com X-IBM-MailFrom: shreyas@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org Message-ID: <57284536.8040202@linux.vnet.ibm.com> Date: Tue, 03 May 2016 11:59:10 +0530 From: Shreyas B Prabhu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: Michael Neuling , mpe@ellerman.id.au CC: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 7/9] powerpc/powernv: Add platform support for stop instruction References: <1461246599-6098-1-git-send-email-shreyas@linux.vnet.ibm.com> <1461246599-6098-8-git-send-email-shreyas@linux.vnet.ibm.com> <1462253150.4115.11.camel@neuling.org> In-Reply-To: <1462253150.4115.11.camel@neuling.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16050306-0025-0000-0000-000004830B4B Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >