]> git.baikalelectronics.ru Git - kernel.git/commit
perf/arm-cmn: Account for NUMA affinity
authorRobin Murphy <robin.murphy@arm.com>
Fri, 3 Dec 2021 11:44:51 +0000 (11:44 +0000)
committerWill Deacon <will@kernel.org>
Tue, 14 Dec 2021 12:09:27 +0000 (12:09 +0000)
commit52eff7232a9a8350c14c66854ef245e88bed122e
tree78db0adfb86b525083a2331b975ab30c323c05ff
parent0dad6dea9689c29725e72502cf1b294f08a570c0
perf/arm-cmn: Account for NUMA affinity

On a system with multiple CMN meshes, ideally we'd want to access each
PMU from within its own mesh, rather than with a long CML round-trip,
wherever feasible. Since such a system is likely to be presented as
multiple NUMA nodes, let's also hope a proximity domain is specified
for each CMN programming interface, and use that to guide our choice
of IRQ affinity to favour a node-local CPU where possible.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/32438b0d016e0649d882d47d30ac2000484287b9.1638530442.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm-cmn.c