diff options
author | Robin Murphy <robin.murphy@arm.com> | 2024-09-02 18:52:02 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-09-04 16:04:08 +0100 |
commit | 67acca3504eade75e03ea3ae87a329df6b10ae02 (patch) | |
tree | 5ef1b608988a5aa5ed6c597fc75118e361cc7bd2 /tools/perf/scripts/python/syscall-counts.py | |
parent | c5b15ddf11a8a82f5e9ccd9b44f7b765c59bffdd (diff) |
perf/arm-cmn: Refactor DTC PMU register access
Annoyingly, we're soon going to have to cope with PMU registers moving
about. This will mostly be straightforward, except for the hard-coding
of CMN_PMU_OFFSET for the DTC PMU registers. As a first step, refactor
those accessors to allow for encapsulating a variable offset without
making a big mess all over. As a bonus, we can repack the arm_cmn_dtc
structure to accommodate the new pointer without growing any larger,
since irq_friend only encodes a range of +/-3.
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/fc677576fae7b5b55780e5b245a4ef6ea1b30daf.1725296395.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions