From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 97F2AEED619 for ; Fri, 15 Sep 2023 17:17:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=y/gBpLKlbCQEQx+2piX/hf2i0Sp1isxbswhiyL8c55w=; b=WV5q155vaSMxpr UlzlBnWiLyhz3ofoWfZQ5t9MMZGP7xMb5Jz2Zs4BzoM9Dd5ovVZxRuCWvzZu4hwjmQa7dKiD8Es9k pnnTuYTOPvNE8D2FXt6v8KAjgPmG3enR9Q+ev7I50RmSo7n2pwJ+rS4UdIUe9aowKMi7aiq1Kg3SJ pSw0yjdeb/3KuCEwMg+5GZxI0v4TcWwvztYIWcnhGk6BrIpDof3llX0AtiXxtu4ODtfIVmm3f2MPL VJBCKMLGr068DVwHUtfm0mxizqO67/WpMkZB8MqeCVTqUYuZ4x1nWtcOuAWavYw2eB6qSk4UaB9iF 11mzfYcJGmIYTACg4oWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qhCR5-00B7oe-24; Fri, 15 Sep 2023 17:16:55 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qhCQy-00B7ny-2m for linux-arm-kernel@lists.infradead.org; Fri, 15 Sep 2023 17:16:50 +0000 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 DE8EC1FB; Fri, 15 Sep 2023 10:17:23 -0700 (PDT) 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 F08143F5A1; Fri, 15 Sep 2023 10:16:44 -0700 (PDT) Message-ID: <6682c765-9d7f-dd21-af85-e83cee435a89@arm.com> Date: Fri, 15 Sep 2023 18:16:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [EXT] Re: resctrl2 - status Content-Language: en-GB To: Jonathan Cameron , Amit Singh Tomar Cc: Reinette Chatre , "Luck, Tony" , "Yu, Fenghua" , George Cherian , "robh@kernel.org" , "peternewman@google.com" , Drew Fustini , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" References: <35f05064-a412-ad29-5352-277fb147bbc4@intel.com> <20230829112321.00002b55@Huawei.com> <20230830114731.00003590@Huawei.com> From: James Morse In-Reply-To: <20230830114731.00003590@Huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230915_101648_969926_76F474F6 X-CRM114-Status: GOOD ( 12.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi guys, On 30/08/2023 11:47, Jonathan Cameron wrote: > On Tue, 29 Aug 2023 17:18:53 +0000 > Amit Singh Tomar wrote: >> From: Jonathan Cameron >> James probably also has views on this, but I wouldn't expect userspace to go anywhere near ACPI parsing. I agree wholeheartedly! Parsing the ACPI tables also wouldn't work: the firmware tables describe where the MPAM hardware is, but the features that are supported are described by the hardware, then grouped to find the common features we can make use of. >> If the description of what MPAM features are supported (before resctrl is running) is necessary, then we >> should add it to the existing description of the various caches etc. Maybe somewhere in >> /sys/bus/node/devices/nodeX/cpuY/cache/indexZ/ >> for the caches >> and >> /sys/bus/node/devices/nodeX for the DRAM controllers. >> [>>] Or may be all the MPAM features list is unified at one place, something like this ? >> https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git/commit/?h=mpam/snapshot/v6.5-rc1&id=c32874cd1d68241c481a9d0c32c8c65d019c247e > > Fine for debug, not for generic tooling. Yeah, this is really just for folk reporting bugs to me so we can work out what their firmware table described, and what the driver found. Thanks, James _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel