diff options
| author | Ping Li <leeonion.muyu@gmail.com> | 2026-10-20 19:48:07 +0800 |
|---|---|---|
| committer | Catalin Marinas <catalin.marinas@arm.com> | 2026-10-22 18:16:05 +0100 |
| commit | 643b64025650d0ac5d57bd522d2eb0996a278081 (patch) | |
| tree | 97d5d9a550e9b900ca03a453765f3c7ab39f1b43 /tools/lib/python/kdoc | |
| parent | d0de3a73194a250a2e5ffbf1dc604c0bcbb16e8a (diff) | |
arm_mpam: Release the mon_sel lock on mpam_save_mbwu_state() errors
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.
Fixes: a3a94c13c442 ("arm_mpam: propagate MSC access errors for state saving function")
Signed-off-by: Ping Li <leeonion.muyu@gmail.com>
Reviewed-by: Ben Horgan <ben.horgan@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
