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

Yushan Wang wangyushan12 at huawei.com
Fri Jun 12 02:35:37 PDT 2026


There are some issues with patch 1, please ignore this, sorry.

On 6/12/2026 5:32 PM, Yushan Wang wrote:
> 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-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 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
>




More information about the linux-arm-kernel mailing list