[PATCH V8 0/2] drivers/perf: hisi: Add driver for HNS3 PMU

Guangbin Huang huangguangbin2 at huawei.com
Mon Jun 27 23:34:17 PDT 2022


This patch-set adds driver for HNS3(HiSilicon network system version 3)
PMU and doc to descript it.

Change logs:
V7 -> V8:
 - remove overlapping fields 'event' and 'real_event' of config.
 - Link: https://lore.kernel.org/linux-arm-kernel/20220525005211.57059-1-huangguangbin2@huawei.com/
V6 -> V7:
modify the comments of Will Deacon:
 - Modify format of event number shown for user.
 - Add a trailing space for func-intr when show filter mode.
 - Format the bdf number as the way "b:d.f" when show bdf_min and bdf_max.
 - Add subevent, event_type, ext_counter_used and real_event for
   hns3_pmu_format_attr[].
 - Link: https://lore.kernel.org/linux-arm-kernel/20220427121000.56026-1-huangguangbin2@huawei.com/
V5 -> V6:
 - Modify prefix hns3_get into hns3_pmu_get.
 - Some switch cases return directly.
 - Modify failed log when io remap failed.
 - Link: https://lore.kernel.org/linux-arm-kernel/20220426132822.51735-1-huangguangbin2@huawei.com/
V4 -> V5:
 - Add COMPILE_TEST and include io-64-nonatomic-hi-lo.h as suggestion of
   John Garry.
V3 -> V4:
 - Modify the comments of John Garry.
 - Link: https://lore.kernel.org/linux-arm-kernel/20220329113930.37631-1-huangguangbin2@huawei.com/
V2 -> V3:
 - Modify the comments of John Garry.
 - Link: https://lore.kernel.org/linux-arm-kernel/20220228123955.30284-1-huangguangbin2@huawei.com/
V1 -> V2:
 - Modify the comments of John Garry.
 - Link: https://lore.kernel.org/linux-arm-kernel/20220117015222.9617-1-huangguangbin2@huawei.com/


Guangbin Huang (2):
  drivers/perf: hisi: Add description for HNS3 PMU driver
  drivers/perf: hisi: add driver for HNS3 PMU

 Documentation/admin-guide/perf/hns3-pmu.rst |  136 ++
 MAINTAINERS                                 |    6 +
 drivers/perf/hisilicon/Kconfig              |   10 +
 drivers/perf/hisilicon/Makefile             |    1 +
 drivers/perf/hisilicon/hns3_pmu.c           | 1671 +++++++++++++++++++
 include/linux/cpuhotplug.h                  |    1 +
 6 files changed, 1825 insertions(+)
 create mode 100644 Documentation/admin-guide/perf/hns3-pmu.rst
 create mode 100644 drivers/perf/hisilicon/hns3_pmu.c

-- 
2.33.0




More information about the linux-arm-kernel mailing list