]> git.ipfire.org Git - thirdparty/linux.git/commit
perf/arm_dsu: Allow standard cycles events
authorRobin Murphy <robin.murphy@arm.com>
Mon, 15 Dec 2025 13:05:00 +0000 (13:05 +0000)
committerWill Deacon <will@kernel.org>
Tue, 6 Jan 2026 21:27:40 +0000 (21:27 +0000)
commit79448fa1f495c3e3b7119e53bedc3cce273aa95f
treef0c0a2e6644ea9ee0f693f16f5fea9b50c6d8554
parent85c0dbd8b6e2ca5e672560c7cd86801bffa0d884
perf/arm_dsu: Allow standard cycles events

Since we do not use the divide-by-64 option, there should be no
significant difference between the dedicated cycle counter and the
standard cycles event. Since using the latter on DSU-120 now has
the side-effect of allowing multiple cycles events to be scheduled
simultaneously (beneficial for multiple cycle-based metrics), there
seems little reason not to allow the same on older DSUs as well.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_dsu_pmu.c