Re: [PATCH 28/33] arm_mpam: Consider overflow in bandwidth counter state

Jonathan Cameron
2025-11-10T17:33:04Z

On Fri, 7 Nov 2025 12:34:45 +0000
Ben Horgan <ben.horgan@arm.com> wrote:

> Use the overflow status bit to track overflow on each bandwidth counter
> read and add the counter size to the correction when overflow is detected.
>
> This assumes that only a single overflow has occurred since the last read
> of the counter. Overflow interrupts, on hardware that supports them could
> be used to remove this limitation.
>
> Cc: Zeng Heng <zengheng4@huawei.com>
> Signed-off-by: Ben Horgan <ben.horgan@arm.com>

Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>