[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230523131825.6102-1-hejunhao3@huawei.com>
Date: Tue, 23 May 2023 21:18:22 +0800
From: Junhao He <hejunhao3@...wei.com>
To: <will@...nel.org>, <jonathan.cameron@...wei.com>,
<linux-kernel@...r.kernel.org>, <mark.rutland@....com>
CC: <linux-arm-kernel@...ts.infradead.org>,
<linux-doc@...r.kernel.org>, <linuxarm@...wei.com>,
<yangyicong@...wei.com>, <shenyang39@...wei.com>,
<prime.zeng@...ilicon.com>, <hejunhao3@...wei.com>
Subject: [PATCH 0/3] Add support for HiSilicon SoC uncore PMU
Add support for HiSilicon UC/H60PA/PAv3 PMU driver.
PAv3 PMU: Compared with the PAv2 PMU, the PAv3 PMU has different event. The
version of PMU version register is used to distinguish the v2 and v3.
H60PA PMU: The H60PA PMU and PA are two different devices. The H60PA PMU
supports higher bandwidth, and the PA PMU delay is relatively low.
Different HIDs are used to distinguish the delay.
UC PMU: Each cluster is integrated with a unified cache (UC) PMU, which
provides consistency between NUMA and UMA domains. It sits between
L2 and the memory system.
Junhao He (3):
drivers/perf: hisi: Add support for HiSilicon H60PA and PAv3 PMU
driver
drivers/perf: hisi: Add support for HiSilicon UC PMU driver
docs: perf: Add new description for HiSilicon UC PMU
Documentation/admin-guide/perf/hisi-pmu.rst | 8 +
drivers/perf/hisilicon/Makefile | 2 +-
drivers/perf/hisilicon/hisi_uncore_pa_pmu.c | 138 ++++-
drivers/perf/hisilicon/hisi_uncore_pmu.c | 5 +-
drivers/perf/hisilicon/hisi_uncore_pmu.h | 42 +-
drivers/perf/hisilicon/hisi_uncore_uc_pmu.c | 581 ++++++++++++++++++++
6 files changed, 757 insertions(+), 19 deletions(-)
create mode 100644 drivers/perf/hisilicon/hisi_uncore_uc_pmu.c
--
2.33.0
Powered by blists - more mailing lists