[PATCH] perf/arm-cmn: Allow userspace to select the PMU's CPU
Okanovic, Haris
harisokn at amazon.com
Tue Oct 13 12:14:42 PDT 2026
On 2026-10-02 17:43, Robin Murphy wrote:
> why do the dozens of other drivers which also pick an arbitrary CPU
> not also need fixing?
Fair point, I understand the scope better now. I counted 25 drivers
doing this, each with its own copy of roughly the same logic.
> I don't see this being practical without first generalising the notion
> of CPU affinity so that it can at least be dealt with from a single
> place in the perf core.
That is what I have done instead of the original patch:
https://lore.kernel.org/linux-arm-kernel/20261013185603.1347265-1-harisokn@amazon.com/
Only arm-cmn is converted there; the other 24 are prototyped locally and
will follow if the approach looks right.
Please let me know your thoughts.
--
Haris Okanovic
AWS Graviton
More information about the linux-arm-kernel
mailing list