Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5919216rdb; Thu, 14 Dec 2023 03:38:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZA1zLfumG757vdDsxjeni3SnbtAOYoP1DyTx/++3GVgOgYDgn0RVFIsW0mGFFHn5suZCa X-Received: by 2002:a05:6e02:20c1:b0:35d:6227:4f03 with SMTP id 1-20020a056e0220c100b0035d62274f03mr13698920ilq.7.1702553910582; Thu, 14 Dec 2023 03:38:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702553910; cv=none; d=google.com; s=arc-20160816; b=suQL1prtnneDi5tqvAPA2h4wGuubNBDcC28UWcaSa1+hn4FrLg4i9pbTtQIQrR0wbz 5t6cQgN36edOKrmOLMRu2Bt8Z3aZsfbndf1YtZaidK8W1Gb5ZCkF6d5deuaGR3L7StBP p/3BIHMjP/ymlQgR3J99vNxsoE9H/Bi/xUxVu6VX8ET88+4ZpH4mC7bvtKyy08xv+H78 we5L3ajuppjLvtP6n5QBU0K+hHbVx4fkYJl2MHPJmyXNiYXanQ5MD2/YIw4oxfZ7Gzvu xqJuq40PWIootEdtse2/wdLZxlvsMnIYIDuPKGYyeJXr/94pDgjU42aE8+a/JMQGg0eE RcPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=NkElAKzflsgX6MRZo52k4oPuE++7bbNVk40AdsTrwxY=; fh=HBNJCb1O5m4cQgWGcwqoKY3KTbKsr5rANYvH6uVWzvA=; b=n9CTJnq7Ls/wMYnLSgetQQcDfef3p9LGQoWH+EI6ldGtAN2kPFcBbapBATtclcP8OK Rhn3fdCyNZGqG457EvNz0Ig3A0m1r0NlexXRgwOJoYJJmRm6TTY2T3Pk9eyVBTY8iwtP mtyWiGKLRat1CfpK0b8w+0A7VmGYs+JH9d5CnYEzVUPYLo1IM1itRKDyWnLZnBkCxVWQ 0wod/JsHGDLyembY1BqwDRo1fzsc9e9/F0MEkR7Uu4Uvl+CJ6uuOKg/tVBSMZn9C60Rq XYadkUZTXquYXkvuhcJdVt+U/SORzNtznBvdIZG7OHk8Zm2moWJlIlCrRN/He0PiMkoh mptw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id q6-20020a170902bd8600b001d34dd65eeasi2820992pls.528.2023.12.14.03.38.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 03:38:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id D829B81067B8; Thu, 14 Dec 2023 03:38:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1444052AbjLNLiP (ORCPT + 99 others); Thu, 14 Dec 2023 06:38:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1444027AbjLNLiN (ORCPT ); Thu, 14 Dec 2023 06:38:13 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 48245B7 for ; Thu, 14 Dec 2023 03:38:20 -0800 (PST) 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 9BEF21576; Thu, 14 Dec 2023 03:39:05 -0800 (PST) Received: from [10.1.197.60] (eglon.cambridge.arm.com [10.1.197.60]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8C40D3F738; Thu, 14 Dec 2023 03:38:17 -0800 (PST) Message-ID: Date: Thu, 14 Dec 2023 11:38:16 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v7 19/24] x86/resctrl: Add helpers for system wide mon/alloc capable Content-Language: en-GB To: babu.moger@amd.com, x86@kernel.org, linux-kernel@vger.kernel.org Cc: Fenghua Yu , Reinette Chatre , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , 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 References: <20231025180345.28061-1-james.morse@arm.com> <20231025180345.28061-20-james.morse@arm.com> <5e3cc44f-5492-4dc0-a585-b58caa1e27d4@amd.com> From: James Morse In-Reply-To: <5e3cc44f-5492-4dc0-a585-b58caa1e27d4@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 14 Dec 2023 03:38:28 -0800 (PST) Hi Babu, On 09/11/2023 20:51, Moger, Babu wrote: > Thought you are replacing all rdt_mon_capable with > resctrl_arch_mon_capable. But, you missed few. > > 1 rdtgroup.c rdt_get_tree 2640 if (rdt_mon_capable) > 2 rdtgroup.c mkdir_rdt_prepare 3420 if (rdt_mon_capable) > > Any reason these are not replaced? Nope, These were added in tip, which I rebased on to in order to post this late, but didn't have the time to retest the ~100 other patches (mostly MPAM driver) that sit on top of this. x86 was quite happy without these. (There are too many moving parts!) - thanks for catching these. Thanks, James