]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf: Add driver for Arm NI-700 interconnect PMU
authorRobin Murphy <robin.murphy@arm.com>
Wed, 4 Sep 2024 17:34:03 +0000 (18:34 +0100)
committerWill Deacon <will@kernel.org>
Fri, 6 Sep 2024 11:58:28 +0000 (12:58 +0100)
commit4d5a7680f2b4d0c2955e1d9f9a594b050d637436
tree41275524b1b0f973d21eb5039a4a26099307a841
parentabbe74dd105b45330dd269530060d30441d45b95
perf: Add driver for Arm NI-700 interconnect PMU

The Arm NI-700 Network-on-Chip Interconnect has a relatively
straightforward design with a hierarchy of voltage, power, and clock
domains, where each clock domain then contains a number of interface
units and a PMU which can monitor events thereon. As such, it begets a
relatively straightforward driver to interface those PMUs with perf.

Even more so than with arm-cmn, users will require detailed knowledge of
the wider system topology in order to meaningfully analyse anything,
since the interconnect itself cannot know what lies beyond the boundary
of each inscrutably-numbered interface. Given that, for now they are
also expected to refer to the NI-700 documentation for the relevant
event IDs to provide as well. An identifier is implemented so we can
come back and add jevents if anyone really wants to.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/9933058d0ab8138c78a61cd6852ea5d5ff48e393.1725470837.git.robin.murphy@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/admin-guide/perf/arm-ni.rst [new file with mode: 0644]
Documentation/admin-guide/perf/index.rst
drivers/perf/Kconfig
drivers/perf/Makefile
drivers/perf/arm-ni.c [new file with mode: 0644]