[PATCH v3 27/29] arm_mpam: Add helper to reset saved mbwu state
Shaopeng Tan (Fujitsu)
tan.shaopeng at fujitsu.com
Wed Oct 29 00:14:25 PDT 2025
> 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 at arm.com>
> Reviewed-by: Fenghua Yu <fenghuay at nvdia.com>
> Tested-by: Fenghua Yu <fenghuay at nvidia.com>
Reviewed-by: Shaopeng Tan <tan.shaopeng at jp.fujitsu.com>
More information about the linux-arm-kernel
mailing list