[PATCH 0/3] perf: Add Arm Network-on-Chip PMU driver

Robin Murphy posted 3 patches 1 year, 9 months ago
There is a newer version of this series
.../devicetree/bindings/perf/arm,ni.yaml      |  30 +
MAINTAINERS                                   |  10 +
drivers/perf/Kconfig                          |   7 +
drivers/perf/Makefile                         |   1 +
drivers/perf/arm-ni.c                         | 767 ++++++++++++++++++
5 files changed, 815 insertions(+)
create mode 100644 Documentation/devicetree/bindings/perf/arm,ni.yaml
create mode 100644 drivers/perf/arm-ni.c
[PATCH 0/3] perf: Add Arm Network-on-Chip PMU driver
Posted by Robin Murphy 1 year, 9 months ago
Hi all,

Somewhat later than hoped (sorry!), now that it's finally had the chance
for enough testing to flush out all the silly bugs, here's the NI-700
driver I've had kicking around in various forms for the last 18 months.
I squashed in NI-710AE support since that appeared in the meantime and
the differences are minimal, however I have not felt compelled to go
back and genericise all the original NI-700 references. I don't think
I'm giving too much away to say that there will be further new product
support to add in future, so I will be back with more soon enough.

Note that the driver patch depends on the the cpumask_any_and_but()
addition queued in arm64/for-next/perf.

Thanks,
Robin.


Robin Murphy (3):
  dt-bindings/perf: Add Arm NI-700 PMU
  perf: Add driver for Arm NI-700 interconnect PMU
  MAINTAINERS: List Arm interconnect PMUs as supported

 .../devicetree/bindings/perf/arm,ni.yaml      |  30 +
 MAINTAINERS                                   |  10 +
 drivers/perf/Kconfig                          |   7 +
 drivers/perf/Makefile                         |   1 +
 drivers/perf/arm-ni.c                         | 767 ++++++++++++++++++
 5 files changed, 815 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/perf/arm,ni.yaml
 create mode 100644 drivers/perf/arm-ni.c

-- 
2.39.2.101.g768bb238c484.dirty
Re: [PATCH 0/3] perf: Add Arm Network-on-Chip PMU driver
Posted by Will Deacon 1 year, 7 months ago
Hi Robin,

On Thu, Apr 25, 2024 at 01:29:51PM +0100, Robin Murphy wrote:
> 
> Somewhat later than hoped (sorry!), now that it's finally had the chance
> for enough testing to flush out all the silly bugs, here's the NI-700
> driver I've had kicking around in various forms for the last 18 months.
> I squashed in NI-710AE support since that appeared in the meantime and
> the differences are minimal, however I have not felt compelled to go
> back and genericise all the original NI-700 references. I don't think
> I'm giving too much away to say that there will be further new product
> support to add in future, so I will be back with more soon enough.
> 
> Note that the driver patch depends on the the cpumask_any_and_but()
> addition queued in arm64/for-next/perf.

I left some minor comments on the driver code, but I think this probably
needs a respin anyway as the binding is still pending an Ack from the
DT folks.

Will