summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorPing Li <leeonion.muyu@gmail.com>2026-10-20 19:48:07 +0800
committerCatalin Marinas <catalin.marinas@arm.com>2026-10-22 18:16:05 +0100
commit643b64025650d0ac5d57bd522d2eb0996a278081 (patch)
tree97d5d9a550e9b900ca03a453765f3c7ab39f1b43 /tools/lib/python
parentd0de3a73194a250a2e5ffbf1dc604c0bcbb16e8a (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')
0 files changed, 0 insertions, 0 deletions