JIRA: https://issues.redhat.com/browse/RHEL-5704
Conflicts:
drivers/perf/arm-ni.c
When this patch was merged upstream, the switch to platform device
remove funtion returning void rather than returning error was
complete. That is not the case for RHEL, so assign remove function
to .remove_new rather than .remove.
commit 4d5a7680f2b4d0c2955e1d9f9a594b050d637436
Author: Robin Murphy <robin.murphy@arm.com>
Date: Wed, 4 Sep 2024 18:34:03 +0100
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>
Signed-off-by: Mark Salter <msalter@redhat.com>