Commit 9a74f34a authored by Robin Murphy's avatar Robin Murphy Committed by Treehugger Robot
Browse files

UPSTREAM: perf/arm-cmn: Optimise DTC counter accesses



In cases where we do know which DTC domain a node belongs to, we can
skip initialising or reading the global count in DTCs where we know
it won't change. The machinery to achieve that is mostly in place
already, so finish hooking it up by converting the vestigial domain
tracking to propagate suitable bitmaps all the way through to events.

Note that this does not allow allocating such an unused counter to a
different event on that DTC, because that is a flippin' nightmare.

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


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