diff options
| author | Robin Murphy <robin.murphy@arm.com> | 2026-02-19 17:27:53 +0000 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-03-24 12:34:38 +0000 |
| commit | 5394396ff5488f007248727988b722c5d4f0638b (patch) | |
| tree | bdfefe27134aaeb7e74aa80b1f3159fa5f4ee86c /tools/perf/scripts/python | |
| parent | 15ed3fa23cbcb9b9db842947698c3b4b2aeb706c (diff) | |
perf/arm-cmn: Stop claiming entire iomem region
So far, the PMU has been the only thing of interest in the vast mass
of CMN registers, so we've gotten away with simply claiming the entire
iomem region. However, now that we can support other features like MPAM
controllers for the system caches, the PMU driver needs to stop being
selfish and learn to share. Similarly to arm-ni, requesting just the
DTC node(s) should suffice for staking our exclusive claim to the PMU
features, as requesting hundreds of tiny regions for all the individual
pmu_event_sel registers is definitely not worth the considerable bother.
As a consequence, we can also streamline the annoying CMN-600 special
cases even more. The ACPI binding has in fact always specified a strict
order for all resources, so we can reasonably drop the ancient pretence
of swapping base and cfg, which IIRC was more just a moment of doubt on
my part than anything else.
Cc: James Morse <james.morse@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Ben Horgan <ben.horgan@arm.com>
Reviewed-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
