diff options
| author | Andre Przywara <andre.przywara@arm.com> | 2026-10-01 17:34:27 +0200 |
|---|---|---|
| committer | James Morse <james.morse@arm.com> | 2026-10-02 17:39:34 +0100 |
| commit | 0db1715e4c9c8cc3fdffe1d1d4114c86a1c07730 (patch) | |
| tree | 2b4f7b78c4d574407a8e974f2f7903a4db6c9451 /tools/perf/scripts/python | |
| parent | 84e8795c271a6a44c3a477e43fef0a05403ddfec (diff) | |
arm_mpam: propagate MSC access errors for hw_probe functions
Allow the functions probing for MSC hardware and features to return an
error, and propagate read and write errors from the lower level up.
This uses some "scoped cleanup" functions like scoped_guard() and
ACQUIRE() to avoid the complexity of error handling when a lock has been
taken. Since the mon_sel_lock is a bit special (even more so in an
upcoming patch), we define a new GUARD type for it.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Reviewed-by: Ben Horgan <ben.horgan@arm.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Tested-by: Gavin Shan <gshan@redhat.com> # on NVIDIA Grace Hopper
Signed-off-by: James Morse <james.morse@arm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
