Commit 534bc126 authored by Robin Murphy's avatar Robin Murphy Committed by Treehugger Robot
Browse files

UPSTREAM: perf/arm-cmn: Refactor node ID handling



Add a bit more abstraction for the places where we decompose node IDs.
This will help keep things nice and manageable when we come to add yet
more variables which affect the node ID format. Also use the opportunity
to move the rest of the low-level node management helpers back up to the
logical place they were meant to be - how they ended up buried right in
the middle of the event-related definitions is somewhat of a mystery...

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


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