From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752183AbdLKBZZ (ORCPT ); Sun, 10 Dec 2017 20:25:25 -0500 Received: from mga14.intel.com ([192.55.52.115]:14113 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751526AbdLKBZY (ORCPT ); Sun, 10 Dec 2017 20:25:24 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,391,1508828400"; d="scan'208";a="183094323" Date: Sun, 10 Dec 2017 17:22:53 -0800 From: Fenghua Yu To: Brice Goglin Cc: Fenghua Yu , Thomas Gleixner , "H. Peter Anvin" , Ingo Molnar , Tony Luck , Vikas Shivappa , Ravi V Shankar , "Chatre, Reinette" , Sai Prakhya , x86 , linux-kernel Subject: Re: [PATCH] x86/intel_rdt: Classify /proc/cpuinfo flag bits and add missing bits in documentation Message-ID: <20171211012252.GA65487@linux.intel.com> References: <1512779102-45295-1-git-send-email-fenghua.yu@intel.com> <3690e566-27df-9931-fb89-31c8e117a314@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3690e566-27df-9931-fb89-31c8e117a314@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 09, 2017 at 10:58:01PM +0100, Brice Goglin wrote: > Le 09/12/2017 à 01:25, Fenghua Yu a écrit : > > From: Fenghua Yu > > > > With more flag bits in /proc/cpuinfo for RDT, it's better to classify the > > bits for readability. > > > > Some previously missing bits are added as well. > > > > Signed-off-by: Fenghua Yu > > --- > > Documentation/x86/intel_rdt_ui.txt | 7 ++++++- > > 1 file changed, 6 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/x86/intel_rdt_ui.txt b/Documentation/x86/intel_rdt_ui.txt > > index 6851854..9b62738 100644 > > --- a/Documentation/x86/intel_rdt_ui.txt > > +++ b/Documentation/x86/intel_rdt_ui.txt > > @@ -7,7 +7,12 @@ Tony Luck > > Vikas Shivappa > > > > This feature is enabled by the CONFIG_INTEL_RDT Kconfig and the > > -X86 /proc/cpuinfo flag bits "rdt", "cqm", "cat_l3" and "cdp_l3". > > +X86 /proc/cpuinfo flag bits: > > +RDT (Resource Director Technology) Allocation - "rdt_a" > > +CAT (Cache Allocation Technology) - "cat_l3", "cdp_l3", "cat_l2" > > Why not "Code and Data Prioritization" for cdp_l3? CDP is an extension of CAT. So I just put cdp_l3 into the CAT class. Thanks. -Fenghua