Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753080AbcJHTxC (ORCPT ); Sat, 8 Oct 2016 15:53:02 -0400 Received: from mx2.suse.de ([195.135.220.15]:32863 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752920AbcJHTw5 (ORCPT ); Sat, 8 Oct 2016 15:52:57 -0400 Date: Sat, 8 Oct 2016 21:52:50 +0200 From: Borislav Petkov To: Fenghua Yu , Nilay Vaish Cc: Thomas Gleixner , "H. Peter Anvin" , Ingo Molnar , Tony Luck , Peter Zijlstra , Stephane Eranian , Dave Hansen , Shaohua Li , David Carrillo-Cisneros , Ravi V Shankar , Sai Prakhya , Vikas Shivappa , linux-kernel , x86 Subject: Re: [PATCH v3 04/18] x86/intel_rdt: Feature discovery Message-ID: <20161008195250.zaixshuwfas4y27c@pd.tnic> References: <1475894763-64683-1-git-send-email-fenghua.yu@intel.com> <1475894763-64683-5-git-send-email-fenghua.yu@intel.com> <20161008205454.GB7672@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20161008205454.GB7672@linux.intel.com> User-Agent: NeoMutt/ (1.7.0) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 591 Lines: 19 On Sat, Oct 08, 2016 at 01:54:54PM -0700, Fenghua Yu wrote: > > I think these #defines are specific to Intel. I would prefer if we > > have _INTEL_ somewhere in them. We don't generally add vendor names to those defines. Even more so if the 0x0... leaf range is Intel-specific anyway. > Is adding "Intel" in comment good? I don't see any need if the leaf has already this heading: /* Intel-defined CPU features, CPUID level 0x00000007:0 (ebx), word 9 */ -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --