Re: [PATCH 26/33] arm_mpam: Add helpers to allocate monitors

From: Ben Horgan
Date: Fri Aug 29 2025 - 11:50:16 EST


Hi James,

On 8/22/25 16:30, James Morse wrote:
> MPAM's MSC support a number of monitors, each of which supports
> bandwidth counters, or cache-storage-utilisation counters. To use
> a counter, a monitor needs to be configured. Add helpers to allocate
> and free CSU or MBWU monitors.
>
> Signed-off-by: James Morse <james.morse@xxxxxxx>
> ---
> drivers/resctrl/mpam_devices.c | 2 ++
> drivers/resctrl/mpam_internal.h | 35 +++++++++++++++++++++++++++++++++
> 2 files changed, 37 insertions(+)

This looks good to me.

Reviewed-by: Ben Horgan <ben.horgan@xxxxxxx>


Thanks,

Ben