Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp432930lqg; Thu, 11 Apr 2024 07:21:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVPjsDQmJMs3pqZ6t15py6Owe/BHzsaMU1bZ+V18llHGH5QgxNq1LCCR5YcuNnA+BU0H9GfdRua4zZrlUfI0g6Uw/8sSTAAqRJK0tOTig== X-Google-Smtp-Source: AGHT+IHAc/cxeEP1e4NJFF+Z/eTqNh0u4I1FOyiS52k+vExmABmgkioYTp14q1RwiGE3i02wNC9k X-Received: by 2002:a05:6e02:1c05:b0:36a:12d5:d422 with SMTP id l5-20020a056e021c0500b0036a12d5d422mr6337036ilh.27.1712845297306; Thu, 11 Apr 2024 07:21:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712845297; cv=pass; d=google.com; s=arc-20160816; b=ScN6X+anVb5Oc6X+9jONGhwvJciaXKGkhGP8tLmVIuU/XPwZ5iw/l/CK8NkEXynniM pSjlwD4DDi4vkh+PpH4I03dA4831wyVQgylWeJ7b4BWN4W5KhSXB0hx6Pz+IOFEXNbgW WstnBV7lwGtsgmLjKa7rGEx3lyNGsksVh+6tjpEzreiJXK28Q2xCJpTGtx/2lAQ6S4vl P/Rz+UC7045iQ1KT2ZYkI/IycjUCZ1wsDBbBMUk/8SmTf11S+UqK6hb2jN6kbNagEMte Ecd22vuOz+VnRXc+CHdbuWoJc9yfCXWqn6L8UOv74l+XNhhbdz4Hmufx7bXw7xwzMnQl yAhw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=AkGyVpFqlO2pgdb3ggpZ2K6jPSOc/paEj1QqFYhMCIc=; fh=QpfXcl1MWRNwK/PrSFDaf8vyLNOqSjtq+qtJ/l97qlo=; b=UhTceOuN2ilCsCIsT4L8wvy/fbp2Sq+K+1SWtx9GxQc2Smank2+JPxoeltM8Q0RldZ HNn2L47tuq2lya+alLKlrB6lan1K+CfLs5Cb7MA3sD9M8Jw1sugenffqKWIpIRI3QC2f XdSXRtebOKImwjZDG8N5IJedMaM8hGEvV9K2vqLmJBFmbpX2z+XUNEryNN5tmNRgPRHM 9JLNPgoGs9vYexxPtXECZma9FrSEvBGBHDEubk9ZlXf2JtUIPKWkBBDs5uoB9TGt1iFC omPHn/PRlxYVxUGWiKju+SjjZEzV1N2UB5Mta9y3tUjtyQEWau3DXqwxf97DI9sBkwrc W5UQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-140619-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140619-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z25-20020a631919000000b005d8bd587734si1293673pgl.772.2024.04.11.07.21.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 07:21:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140619-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-140619-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140619-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id AF4232889A0 for ; Thu, 11 Apr 2024 14:16:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9306114EC53; Thu, 11 Apr 2024 14:15:47 +0000 (UTC) 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