|
|
Log in / Subscribe / Register

drivers/perf: hisi: Updates for HiSilicon uncore PMUs

From:  Yushan Wang <wangyushan12-AT-huawei.com>
To:  <will-AT-kernel.org>, <mark.rutland-AT-arm.com>, <robin.murphy-AT-arm.com>, <linux-arm-kernel-AT-lists.infradead.org>, <linux-kernel-AT-vger.kernel.org>
Subject:  [PATCH v2 0/3] drivers/perf: hisi: Updates for HiSilicon uncore PMUs
Date:  Fri, 12 Jun 2026 17:32:04 +0800
Message-ID:  <20260612093207.1242000-1-wangyushan12@huawei.com>
Cc:  <fanghao11-AT-huawei.com>, <linuxarm-AT-huawei.com>, <liuyonglong-AT-huawei.com>, <prime.zeng-AT-hisilicon.com>, <wangzhou1-AT-hisilicon.com>, <wangyushan12-AT-huawei.com>
Archive-link:  Article

This patchset added support of ITS PMU, and new version of MN PMU.

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

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

Changes:
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-wang...
Link to Sashiko review report: https://sashiko.dev/#/patchset/20260423152959.1458563-1-w...

Yifan Wu (1):
  drivers/perf: hisi: Add new function for HiSilicon MN PMU driver

Yushan Wang (2):
  drivers/perf: hisi: Replace counter number with defined macro
  drivers/perf: hisi: Support uncore ITS PMU

 Documentation/admin-guide/perf/hisi-pmu.rst  |  12 +
 drivers/perf/hisilicon/Makefile              |   2 +-
 drivers/perf/hisilicon/hisi_uncore_its_pmu.c | 375 +++++++++++++++++++
 drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c |   2 +-
 drivers/perf/hisilicon/hisi_uncore_mn_pmu.c  |  61 ++-
 5 files changed, 444 insertions(+), 8 deletions(-)
 create mode 100644 drivers/perf/hisilicon/hisi_uncore_its_pmu.c

-- 
2.33.0




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds