Re: [PATCH] arm_mpam: On saving mbwu state read the monitors before clearing CFG_MBWU_CTL

From: Catalin Marinas

Date: Tue Oct 06 2026 - 18:59:02 EST


On Sat, 03 Oct 2026 14:12:07 +0100, Ben Horgan wrote:
> In mpam_save_mbwu_state() the monitor values are read using __ris_msmon_read_locked()
> which checks if the configuration provided matches that in the hardware and if
> not then resets the monitor. To avoid resetting the monitor before reading the
> value that needs saving only clear the configuration after the monitor is read.

Applied to arm64 (for-next/mpam), thanks!

[1/1] arm_mpam: On saving mbwu state read the monitors before clearing CFG_MBWU_CTL
https://git.kernel.org/arm64/c/197a7a41e6e0