| From: |
| Guangbin Huang <huangguangbin2-AT-huawei.com> |
| To: |
| <john.garry-AT-huawei.com>, <will-AT-kernel.org>, <mark.rutland-AT-arm.com> |
| Subject: |
| [PATCH V7 0/2] drivers/perf: hisi: Add driver for HNS3 PMU |
| Date: |
| Mon, 23 May 2022 23:01:38 +0800 |
| Message-ID: |
| <20220523150140.15025-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:
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 | 1662 +++++++++++++++++++
include/linux/cpuhotplug.h | 1 +
6 files changed, 1816 insertions(+)
create mode 100644 Documentation/admin-guide/perf/hns3-pmu.rst
create mode 100644 drivers/perf/hisilicon/hns3_pmu.c
--
2.33.0