Re: [PATCH v3 41/47] arm_mpam: Generate a configuration for min controls
From: Jonathan Cameron
Date: Tue Jan 13 2026 - 10:39:44 EST
On Mon, 12 Jan 2026 16:59:08 +0000
Ben Horgan <ben.horgan@xxxxxxx> wrote:
> From: James Morse <james.morse@xxxxxxx>
>
> MPAM supports a minimum and maximum control for memory bandwidth. The
> purpose of the minimum control is to give priority to tasks that are below
> their minimum value. Resctrl only provides one value for the bandwidth
> configuration, which is used for the maximum.
>
> The minimum control is always programmed to zero on hardware that supports
> it.
>
> Generate a minimum bandwidth value that is 5% lower than the value provided
> by resctrl. This means tasks that are not receiving their target bandwidth
> can be prioritised by the hardware.
>
> For component reset reuse the same calculation so that the default is a
> value resctrl can set.
>
> CC: Zeng Heng <zengheng4@xxxxxxxxxx>
> Signed-off-by: James Morse <james.morse@xxxxxxx>
> Signed-off-by: Ben Horgan <ben.horgan@xxxxxxx>
I'm interested to see how this plays out as a default choice
vs what people elect to run. Seems harmless to start with this.
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>