Skip to content

perf: xgene: Add support for SoC PMU version 3

Hoan Tran linux-arm-kernel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 9 repliesIn review
  2. v23 patches 9 repliesSuperseded

Changes in v3 from the cover letter

* Seperate acpi_pmu_probe_active_mcb_mcu_l3c for v3
* Consistent PMU event name
* Update comment
* Correct active MCU detection

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf: xgene: Parse PMU subnode from the match tabledrivers/perf/xgene_pmu.c+30 -101 reply
2/3perf: xgene: Move PMU leaf functions into function pointer structuredrivers/perf/xgene_pmu.c+66 -191 reply
3/3perf: xgene: Add support for SoC PMU version 3drivers/perf/xgene_pmu.c+529 -296 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMark Rutland
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] perf: xgene: Add support for SoC PMU version 3

This patch set adds support for SoC-wide (AKA uncore) Performance Monitoring Unit version 3.

It can support up to
- 2 IOB PMU instances
- 8 L3C PMU instances
- 2 MCB PMU instances
- 8 MCU PMU instances
and these PMUs support 64 bit counter

v3:
* Seperate acpi_pmu_probe_active_mcb_mcu_l3c for v3
* Consistent PMU event name
* Update comment
* Correct active MCU detection

v2:
* Split into separate patches
* Use the function pointers for the PMU leaf functions
* Parse PMU subnode by the match table
* Dont allow user change agent id by config1 for SoC PMU v3

Hoan Tran (3):
perf: xgene: Parse PMU subnode from the match table
perf: xgene: Move PMU leaf functions into function pointer structure
perf: xgene: Add support for SoC PMU version 3

 drivers/perf/xgene_pmu.c | 677 +++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 622 insertions(+), 55 deletions(-)
Signature · 1 line
1.9.1