Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp671959lqb; Wed, 17 Apr 2024 07:44:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWXv5NKZdR+1piRTKo63l9QOo6eaXe7GLH2VlFLsYHuOCqoRxgaUhadGP10Bd0xYVoKkTqTlrnnDIOZjaQ/IMsyVR+XkB8Qu/ysc7eiZA== X-Google-Smtp-Source: AGHT+IGtACiigtE7SZasXbIN99sFjgLjXtWQlxGzPadSahwXDwYAadg+IjvAh+vAQw06gz9k8p/l X-Received: by 2002:a17:90b:4f8f:b0:2a8:577:59ba with SMTP id qe15-20020a17090b4f8f00b002a8057759bamr11426085pjb.5.1713365051918; Wed, 17 Apr 2024 07:44:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713365051; cv=pass; d=google.com; s=arc-20160816; b=JdTmQ0LpCOfBy7Soasc5nvO0FwnbxFkhE6+qaHVh7TWgC2XoaAX7gRqepWYhIkWCMW awG4vy4Y/no95YICEGMTCTmJXCQfIcHC0DflJ50DCoe8bv8Zx5yBOHU/JZE5wmXPpH37 2+4scrXFEzBT2TFTnXqZ/HLJFWLSsLnw1o7E3ILgLmOS0Snp9eu8ojGf9X9p5dlGApXp iwrTfxeZgA8i/nb34tv4q1YQBQSPjjb8vRucUSHgJXdL8QxSwdDgg3m98KW5kr1Wo7Lq g0O5adkMOFx9S7MpMhnzXWmnvAeRxzcRTAms71kBIFfzyZhm5SNMI5IyVyQ010AKL6OZ dsAQ== 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=Il3CqDc/Hx3d4iHfODW6/x4tqOvz+stgoWciaZZzpnY=; fh=QpfXcl1MWRNwK/PrSFDaf8vyLNOqSjtq+qtJ/l97qlo=; b=x5SHF8ENvO3upcNROa/gV5aCi62x3oCIM8K7+MI0CspKun+A3zj0njBiosIhMtTVKb C7vAUjY0O2EX/NM6X882tj2WxHwgNbK6iNcoCu5X1r+EIALbOsttyLPL2i+v/X/2Qrk+ nhdjjEUweMoEjUh2fwvpd+kPIHL2F7TNpTaLtnD4xF0Khu+c2o6g0NoC2a44fRMOGQcQ oOrWWxwLyIFUOktQVA5Bo0V8L0yKIfLmN94n4z4K0m6SVO3DcHEzHOUF0NTmbfQm80ab jG6ViOjdrjXlPbP0l0J/TkaE/DMkeHWDzdYKLGMlQjDzQfLnBbDo8gQFLEXSULn8+tp1 mjKA==; 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-148698-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148698-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c15-20020a17090a558f00b002a27f4c5d43si1404805pji.66.2024.04.17.07.44.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 07:44:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148698-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; 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-148698-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148698-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 94054283776 for ; Wed, 17 Apr 2024 14:44:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91244145346; Wed, 17 Apr 2024 14:41:33 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 941E6145356 for ; Wed, 17 Apr 2024 14:41:31 +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=1713364893; cv=none; b=qFVV+RNkdgkFkndk2gVxOdzr0+fZBP/OFaNqzaWQkYlrUyL+CYVQmi06TAuwP2vkKL1DKaUfF5fRoSZfoqhsFFEFOxDYVbdhkhjUxIuzZQDCqUFRcT+p2xgIP3kT/0PFFDWy44ZY/i4lXUU9fmIfZqccMneI3QssUNDbbbmVL3c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713364893; c=relaxed/simple; bh=QmHmQjhS4ZracszR7nZ2gUEAQ/yZV8486QKbSkbjcs0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LfowdyW8bBCxsVPOhHZce5BFkMMFSeWfCZg8B1Jj01xGJrNhkTlejolz4NyKBxQRZOnF52W//qODFhVpn6boRKpwlhsNU0Ic1CQD6rbEZMkKWtSvKPeWrzao2IeN2JtfPh9DMs9LO0H31DvUF4mLnUN8VyMzjoKOK9oh/4d/VWk= 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 BA3AD339; Wed, 17 Apr 2024 07:41:58 -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 947DF3F738; Wed, 17 Apr 2024 07:41:27 -0700 (PDT) Date: Wed, 17 Apr 2024 15:41:24 +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: Hi Reinette, On Thu, Apr 11, 2024 at 10:38:20AM -0700, Reinette Chatre wrote: > Hi Dave, > > On 4/11/2024 7:15 AM, Dave Martin wrote: > > 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. > > I am not asking to change all existing usages of these terms but in > any new changes, please use upper case for acronyms. While there is a general argument to be made here, it sounds from this like you are not requesting a change to this patch; can you confirm? Cheers ---Dave