|
|
Subscribe / Log in / New account

drivers/perf: hisi: Add driver for HNS3 PMU

From:  Guangbin Huang <huangguangbin2-AT-huawei.com>
To:  <john.garry-AT-huawei.com>, <will-AT-kernel.org>, <mark.rutland-AT-arm.com>
Subject:  [PATCH V8 0/2] drivers/perf: hisi: Add driver for HNS3 PMU
Date:  Tue, 28 Jun 2022 14:34:17 +0800
Message-ID:  <20220628063419.38514-1-huangguangbin2@huawei.com>
Cc:  <linux-arm-kernel-AT-lists.infradead.org>, <linux-kernel-AT-vger.kernel.org>, <linuxarm-AT-huawei.com>, <liuqi115-AT-huawei.com>, <zhangshaokun-AT-hisilicon.com>, <f.fangjian-AT-huawei.com>, <huangguangbin2-AT-huawei.com>, <lipeng321-AT-huawei.com>, <shenjian15-AT-huawei.com>
Archive-link:  Article

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.5...
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.5...
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.5...
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.3...
V2 -> V3:
 - Modify the comments of John Garry.
 - Link: https://lore.kernel.org/linux-arm-kernel/20220228123955.3...
V1 -> V2:
 - Modify the comments of John Garry.
 - Link: https://lore.kernel.org/linux-arm-kernel/20220117015222.9...


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



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