[PATCH v4 0/3] drivers/perf: hisi: Updates for HiSilicon uncore PMUs

Yushan Wang posted 3 patches an hour ago
Documentation/admin-guide/perf/hisi-pmu.rst   |  13 +
drivers/perf/hisilicon/Makefile               |   2 +-
drivers/perf/hisilicon/hisi_uncore_cpa_pmu.c  |  34 +-
drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c |  34 +-
drivers/perf/hisilicon/hisi_uncore_hha_pmu.c  |  34 +-
drivers/perf/hisilicon/hisi_uncore_its_pmu.c  | 400 ++++++++++++++++++
drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c  |  21 +-
drivers/perf/hisilicon/hisi_uncore_mn_pmu.c   |  98 +++--
drivers/perf/hisilicon/hisi_uncore_noc_pmu.c  |  35 +-
drivers/perf/hisilicon/hisi_uncore_pa_pmu.c   |  34 +-
drivers/perf/hisilicon/hisi_uncore_pmu.c      |  25 ++
drivers/perf/hisilicon/hisi_uncore_pmu.h      |   2 +
drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c |  34 +-
drivers/perf/hisilicon/hisi_uncore_uc_pmu.c   |  36 +-
include/linux/cpuhotplug.h                    |   6 -
15 files changed, 537 insertions(+), 271 deletions(-)
create mode 100644 drivers/perf/hisilicon/hisi_uncore_its_pmu.c
[PATCH v4 0/3] drivers/perf: hisi: Updates for HiSilicon uncore PMUs
Posted by Yushan Wang an hour ago
This patchset added support of ITS PMU, and new version of MN PMU.

ITS PMU supports counting number and latency of interrupts by
category, and statistics of micro-ops of ITS.

The new version of MN PMU added cycles event, to be used for MN
metric computing.

Changes:
v4:
- Moved unnecessary cpuhp states for each PMU drivers to hisi_uncore_pmu
  framework as suggested by Robin.
- Reserve the ITS INT_ID filter slot for the lifetime of the event so
  concurrent or multiplexed events cannot clobber the global filter
  configuration.
Link to v3: https://lore.kernel.org/all/20260713125647.2958626-1-wangyushan12@huawei.com/
Link to Sashiko review report: https://sashiko.dev/#/patchset/20260713125647.2958626-1-wangyushan12%40huawei.com

v3:
- Added check_filter callback to refuse new filtered events when there
  are already filtered ones running as per Sashiko.
Link to v2: https://lore.kernel.org/all/20260612093812.1249049-1-wangyushan12@huawei.com/
Link to Sashiko review report: https://sashiko.dev/#/message/20260612093812.1249049-1-wangyushan12%40huawei.com

v2:
- Added int_en filter to tell if int_id is used, enabling filtering
  interrupt with 0 int_id per Sashiko.
- Changed event format width to align with register width per Sashiko.
Link to v1: https://lore.kernel.org/all/20260423152959.1458563-1-wangyushan12@huawei.com/
Link to Sashiko review report: https://sashiko.dev/#/patchset/20260423152959.1458563-1-wangyushan12%40huawei.com

Yifan Wu (1):
  drivers/perf: hisi: Add cycle event for HIP13 MN PMU

Yushan Wang (2):
  drivers/perf: hisi: Consolidate uncore PMU cpuhp states
  drivers/perf: hisi: Add support for uncore ITS PMU

 Documentation/admin-guide/perf/hisi-pmu.rst   |  13 +
 drivers/perf/hisilicon/Makefile               |   2 +-
 drivers/perf/hisilicon/hisi_uncore_cpa_pmu.c  |  34 +-
 drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c |  34 +-
 drivers/perf/hisilicon/hisi_uncore_hha_pmu.c  |  34 +-
 drivers/perf/hisilicon/hisi_uncore_its_pmu.c  | 400 ++++++++++++++++++
 drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c  |  21 +-
 drivers/perf/hisilicon/hisi_uncore_mn_pmu.c   |  98 +++--
 drivers/perf/hisilicon/hisi_uncore_noc_pmu.c  |  35 +-
 drivers/perf/hisilicon/hisi_uncore_pa_pmu.c   |  34 +-
 drivers/perf/hisilicon/hisi_uncore_pmu.c      |  25 ++
 drivers/perf/hisilicon/hisi_uncore_pmu.h      |   2 +
 drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c |  34 +-
 drivers/perf/hisilicon/hisi_uncore_uc_pmu.c   |  36 +-
 include/linux/cpuhotplug.h                    |   6 -
 15 files changed, 537 insertions(+), 271 deletions(-)
 create mode 100644 drivers/perf/hisilicon/hisi_uncore_its_pmu.c

-- 
2.33.0