Re: [EXT] Re: resctrl2 - status
flat view
From: James Morse <james.morse@arm.com>
Date: 2023-09-15 17:17:52
Also in:
lkml
Hi guys, On 30/08/2023 11:47, Jonathan Cameron wrote:
On Tue, 29 Aug 2023 17:18:53 +0000 Amit Singh Tomar [off-list ref] wrote:quoted
From: Jonathan Cameron <redacted> 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.
quoted
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/
quoted
for the caches and /sys/bus/node/devices/nodeX for the DRAM controllers.
quoted
[>>] 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=c32874cd1d68241c481a9d0c32c8c65d019c247eFine 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