OSDN Git Service

perf/arm-cmn: Support new IP features
authorRobin Murphy <robin.murphy@arm.com>
Fri, 3 Dec 2021 11:45:00 +0000 (11:45 +0000)
committerWill Deacon <will@kernel.org>
Tue, 14 Dec 2021 12:09:28 +0000 (12:09 +0000)
commit60d1504070c22c059a1e11bc3fd444953da988c1
tree32e57c8beb8c4c4688c370647d7fff93bfc85995
parent61ec1d875812046ff9d473183d53e19dcd6b2ada
perf/arm-cmn: Support new IP features

The second generation of CMN IPs add new node types and significantly
expand the configuration space with options for extra device ports on
edge XPs, either plumbed into the regular DTM or with extra dedicated
DTMs to monitor them, plus larger (and smaller) mesh sizes. Add basic
support for pulling this new information out of the hardware, piping
it around as necessary, and handling (most of) the new choices.

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