From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755330AbcECFZx (ORCPT ); Tue, 3 May 2016 01:25:53 -0400 Received: from ozlabs.org ([103.22.144.67]:38654 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750756AbcECFZw convert rfc822-to-8bit (ORCPT ); Tue, 3 May 2016 01:25:52 -0400 Message-ID: <1462253150.4115.11.camel@neuling.org> Subject: Re: [PATCH 7/9] powerpc/powernv: Add platform support for stop instruction From: Michael Neuling To: "Shreyas B. Prabhu" , mpe@ellerman.id.au Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Tue, 03 May 2016 15:25:50 +1000 In-Reply-To: <1461246599-6098-8-git-send-email-shreyas@linux.vnet.ibm.com> References: <1461246599-6098-1-git-send-email-shreyas@linux.vnet.ibm.com> <1461246599-6098-8-git-send-email-shreyas@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.18.5.2-0ubuntu1 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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