[PATCH] arm_mpam: Release the mon_sel lock on mpam_save_mbwu_state() errors

Catalin Marinas catalin.marinas at arm.com
Fri Oct 23 10:19:31 PDT 2026


On Tue, 20 Oct 2026 19:48:07 +0800, Ping Li wrote:
> mpam_save_mbwu_state() takes the mon_sel lock at the top of each loop
> iteration, but the four error paths that return after failed
> MPAMF_MON_SEL register accesses do so without releasing it.
> 
> Take the lock with the conditional mon_sel_lock guard class instead,
> so all exit paths release it.
> 
> [...]

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

[1/1] arm_mpam: Release the mon_sel lock on mpam_save_mbwu_state() errors
      https://git.kernel.org/arm64/c/643b64025650



More information about the linux-arm-kernel mailing list