From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CAE1A14F10B for ; Thu, 11 Apr 2024 14:15:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712844947; cv=none; b=lOqrKF4ZBi/GlQ5M7KUSjHFqGUAen6sKkL3LfICbs6swvVHT6E9/IZj40PURkU/ip5/JpInzXP+w4lUOqT0R9orbFLQRj7QCSypT1/VBdYUvdAAjoJv33NKmMNO5+N1p9rae+NnIeDJnKiAs3k3cIAwU3sNLTWB6MRzVsrfoHJ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712844947; c=relaxed/simple; bh=ddUj8LERv2D+oA+42bVqj+XXkwRPZ6pGmvFDhHrgfc0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=m7Vcr67ZgPz8genc3JHX89avjFO4IkZeYBrWsDGcoAtatkg0ut1CQKmKmF3urJcihyc3KDnaofVL1jjT9B4qhXjDuQJmheQ75+MZPY1sPetq2L5qDOzrQwQ5EbSVUeDAZFYMIJR1WhEZH9aBgFwQRt2NGXYQ5IPeV19ZTy9adq4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BDBDA339; Thu, 11 Apr 2024 07:16:14 -0700 (PDT) Received: from e133380.arm.com (e133380.arm.com [10.1.197.52]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 70B133F64C; Thu, 11 Apr 2024 07:15:42 -0700 (PDT) Date: Thu, 11 Apr 2024 15:15:40 +0100 From: Dave Martin To: Reinette Chatre Cc: James Morse , x86@kernel.org, linux-kernel@vger.kernel.org, Fenghua Yu , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , Babu Moger , shameerali.kolothum.thodi@huawei.com, D Scott Phillips OS , carl@os.amperecomputing.com, lcherian@marvell.com, bobo.shaobowang@huawei.com, tan.shaopeng@fujitsu.com, baolin.wang@linux.alibaba.com, Jamie Iles , Xin Hao , peternewman@google.com, dfustini@baylibre.com, amitsinght@marvell.com, David Hildenbrand , Rex Nie Subject: Re: [PATCH v1 12/31] x86/resctrl: Move max_{name,data}_width into resctrl code Message-ID: References: <20240321165106.31602-1-james.morse@arm.com> <20240321165106.31602-13-james.morse@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Apr 08, 2024 at 08:19:15PM -0700, Reinette Chatre wrote: > Hi James, > > On 3/21/2024 9:50 AM, James Morse wrote: > > @@ -2595,6 +2601,12 @@ static int schemata_list_add(struct rdt_resource *r, enum resctrl_conf_type type > > if (cl > max_name_width) > > max_name_width = cl; > > > > + /* > > + * Choose a width for the resource data based on the resource that has > > + * widest name and cbm. > > Please check series to ensure upper case is used for acronyms. [...] > Reinette This patch is just moving existing code around AFAICT. See: commit de016df88f23 ("x86/intel_rdt: Update schemata read to show data in tabular format") Since no new usage of any term is being introduced here, can it be left as-is? There seem to be other uses of "cbm" with this sense in the resctrl code already. Cheers ---Dave