Thread (147 messages) 147 messages, 9 authors, 2025-11-19

Re: [PATCH 31/33] arm_mpam: Add helper to reset saved mbwu state

From: Jonathan Cameron <jonathan.cameron@huawei.com>
Date: 2025-11-10 17:34:47
Also in: linux-acpi, lkml

On Fri, 7 Nov 2025 12:34:48 +0000
Ben Horgan [off-list ref] wrote:
From: James Morse <james.morse@arm.com>

resctrl expects to reset the bandwidth counters when the filesystem
is mounted.

To allow this, add a helper that clears the saved mbwu state. Instead
of cross calling to each CPU that can access the component MSC to
write to the counter, set a flag that causes it to be zero'd on the
the next read. This is easily done by forcing a configuration update.

Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: Fenghua Yu <redacted>
Tested-by: Fenghua Yu <fenghuay@nvidia.com>
Cc: Peter Newman <redacted>
Signed-off-by: Ben Horgan <ben.horgan@arm.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>



Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help