Commit 40b29789 authored by Robin Murphy's avatar Robin Murphy Committed by Treehugger Robot
Browse files

UPSTREAM: 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.

Bug: 247832918
Change-Id: I54dd431d59288e90d47e99ae94172c69ee957607
Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/32438b0d016e0649d882d47d30ac2000484287b9.1638530442.git.robin.murphy@arm.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
(cherry picked from commit 6190741c)
Signed-off-by: default avatarRobin Peng <robinpeng@google.com>
parent e82a3f10
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment