OSDN Git Service

perf/arm-cmn: Refactor DTM handling
authorRobin Murphy <robin.murphy@arm.com>
Fri, 3 Dec 2021 11:44:55 +0000 (11:44 +0000)
committerWill Deacon <will@kernel.org>
Tue, 14 Dec 2021 12:09:27 +0000 (12:09 +0000)
commit0947c80aba23972987a88e620812d17a7af27297
treee12f9d2c27b7a0722c8c25266574396dc344f86b
parentda5f7d2c8019c9dd053e2d94fdc1b3e7c03c35a5
perf/arm-cmn: Refactor DTM handling

Untangle DTMs from XPs into a dedicated abstraction. This helps make
things a little more obvious and robust, but primarily paves the way
for further development where new IPs can grow extra DTMs per XP.

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