From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753018AbbJYKhP (ORCPT ); Sun, 25 Oct 2015 06:37:15 -0400 Received: from mail.skyhub.de ([78.46.96.112]:33110 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751428AbbJYKhM (ORCPT ); Sun, 25 Oct 2015 06:37:12 -0400 Date: Sun, 25 Oct 2015 11:37:03 +0100 From: Borislav Petkov To: Aravind Gopalakrishnan Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, tony.luck@intel.com, x86@kernel.org, ashok.raj@intel.com, linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org, peterz@infradead.org, luto@kernel.org, dvlasenk@redhat.com, ross.zwisler@linux.intel.com, peter.p.waskiewicz.jr@intel.com, dirk.j.brandewie@intel.com, Wan Zongshun Subject: Re: [PATCH 2/2] x86/cpufeature: Add CLZERO feature Message-ID: <20151025103703.GB6084@nazgul.tnic> References: <1445599113-8792-1-git-send-email-Aravind.Gopalakrishnan@amd.com> <1445599113-8792-3-git-send-email-Aravind.Gopalakrishnan@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1445599113-8792-3-git-send-email-Aravind.Gopalakrishnan@amd.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 23, 2015 at 06:18:33AM -0500, Aravind Gopalakrishnan wrote: > CLZERO instruction introduced in AMD Fam17h processors > zero's out a 64 byte cache line specified in RAX. > > Add the bit here to allow /proc/cpuinfo to list the feature > > Signed-off-by: Wan Zongshun > Signed-off-by: Aravind Gopalakrishnan This SOB chain looks wrong - if Vincent is the author and you're only sending the patch, then his "From:" needs to appear before the commit message. git send-email does that correctly, provided the authorship is correctly set in the local branch you're sending the patch from. > --- > arch/x86/include/asm/cpufeature.h | 5 ++++- > arch/x86/kernel/cpu/common.c | 1 + > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpufeature.h > index 9727b3b..82d7c25 100644 > --- a/arch/x86/include/asm/cpufeature.h > +++ b/arch/x86/include/asm/cpufeature.h > @@ -12,7 +12,7 @@ > #include > #endif > > -#define NCAPINTS 13 /* N 32-bit words worth of info */ > +#define NCAPINTS 14 /* N 32-bit words worth of info */ > #define NBUGINTS 1 /* N 32-bit bug flags */ > > /* > @@ -255,6 +255,9 @@ > /* Intel-defined CPU QoS Sub-leaf, CPUID level 0x0000000F:1 (edx), word 12 */ > #define X86_FEATURE_CQM_OCCUP_LLC (12*32+ 0) /* LLC occupancy monitoring if 1 */ > > +/* AMD extended feature extension, CPUID level 0x80000008 (ebx), word 13 */ extended ... extension sounds like a tautology, please sanitize. > +#define X86_FEATURE_CLZERO (13*32+0) /* CLZERO instruction */ ... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --