Skip to content

Add support for HiSilicon SoC uncore PMU

Junhao He linux-arm-kernel linux-doc lkml 5 versions – Applied

Status from this message: Applied to will (for-next/perf), thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 2 repliesApplied
  2. v43 patches 4 repliesSuperseded
  3. v33 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches8 repliesSuperseded
v13 patches6 repliesSuperseded

Changes in v5 from the cover letter

- Add new HID to distinguish PAv2 and PAv3 according to Mark's suggestion.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/3drivers/perf: hisi: Add support for HiSilicon H60PA and PAv3 PMU driverdrivers/perf/hisilicon/hisi_uncore_pa_pmu.c drivers/perf/hisilicon/hisi_uncore_pmu.h+120 -151 reply
2/3drivers/perf: hisi: Add support for HiSilicon UC PMU driverdrivers/perf/hisilicon/Makefile drivers/perf/hisilicon/hisi_uncore_pmu.c drivers/perf/hisilicon/hisi_uncore_pmu.h +1 more+588 -20 replies
3/3docs: perf: Add new description for HiSilicon UC PMUDocumentation/admin-guide/perf/hisi-pmu.rst+8 -00 replies

Reviews trailers per patch

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

PatchJonathan CameronYicong YangMark Rutland
1/3R-b R-b A-b
2/3R-b R-b A-b
3/3R-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/3] Add support for HiSilicon SoC uncore PMU

Add support for HiSilicon UC/H60PA/PAv3 PMU driver.

PAv3 PMU: Compared with the PAv2 PMU, the PAv3 PMU has different event. The PAv3 PMU removed some events which are supported by PAv2 PMU. The older PA PMU driver will probe v3 as v2. Add the HISI0275 HID for PAv3 PMU to distinguish different.

H60PA PMU: The H60PA PMU and PA are two different devices. The H60PA PMU supports higher bandwidth, and the PA PMU delay is relatively low. Different HIDs are used to distinguish the delay.

UC PMU: Each cluster is integrated with a unified cache (UC) PMU, which provides consistency between NUMA and UMA domains. It sits between L2 and the memory system.

Change since v4:
- Add new HID to distinguish PAv2 and PAv3 according to Mark's suggestion.

Change since v3:
- Modify the UC PMU patch commit message according to Jonathan's comment.

Change since v2:
- Modify the driver description according to Jonathan's comment.

Change since v1:
- Improve according to Yicong's suggestion
- Fixes build warning of "-Wmissing-prototypes"

Junhao He (3):
drivers/perf: hisi: Add support for HiSilicon H60PA and PAv3 PMU
driver
drivers/perf: hisi: Add support for HiSilicon UC PMU driver
docs: perf: Add new description for HiSilicon UC PMU

 Documentation/admin-guide/perf/hisi-pmu.rst |   8 +
 drivers/perf/hisilicon/Makefile             |   2 +-
 drivers/perf/hisilicon/hisi_uncore_pa_pmu.c | 127 ++++-
 drivers/perf/hisilicon/hisi_uncore_pmu.c    |   4 +-
 drivers/perf/hisilicon/hisi_uncore_pmu.h    |  14 +
 drivers/perf/hisilicon/hisi_uncore_uc_pmu.c | 578 ++++++++++++++++++++
 6 files changed, 716 insertions(+), 17 deletions(-)
 create mode 100644 drivers/perf/hisilicon/hisi_uncore_uc_pmu.c
Signature · 1 line
2.33.0