perf/arm-ni: Consolidate CPU affinity handling
authorRobin Murphy <robin.murphy@arm.com>
Fri, 11 Jul 2025 18:15:16 +0000 (19:15 +0100)
committerWill Deacon <will@kernel.org>
Mon, 14 Jul 2025 14:07:51 +0000 (15:07 +0100)
commit6a5dc6c7534eaafa362fa82f8ff060567b0577f1
treeaac027c2b6b2cea9e6e66514a2dbf0a52be4f6c0
parent0259de6331df405079b7aa13bf1398e6413cb866
perf/arm-ni: Consolidate CPU affinity handling

Since overflow interrupts from the individual PMUs are infrequent and
unlikely to coincide, and we make no attempt to balance them across
CPUs anyway, there's really not much point tracking a separate CPU
affinity per PMU. Move the CPU affinity and hotplug migration up to
the NI instance level.

Tested-by: Shouping Wang <allen.wang@hj-micro.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/00b622872006c2f0c89485e343b1cb8caaa79c47.1752256072.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm-ni.c