Skip to content

Commit 6b79738

Browse files
77liuqiwilldeacon
authored andcommitted
drivers/perf: hisi: Add Support for CPA PMU
On HiSilicon Hip09 platform, there is a CPA (Coherency Protocol Agent) on each SICL (Super IO Cluster) which implements packet format translation, route parsing and traffic statistics. CPA PMU has 8 PMU counters and interrupt is supported to handle counter overflow. Let's support its driver under the framework of HiSilicon PMU driver. Signed-off-by: Qi Liu <liuqi115@huawei.com> Reviewed-by: John Garry <john.garry@huawei.com> Reviewed-by: Shaokun Zhang <zhangshaokun@hisilicon.com> Link: https://lore.kernel.org/r/20220415102352.6665-3-liuqi115@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
1 parent 807907d commit 6b79738

3 files changed

Lines changed: 411 additions & 1 deletion

File tree

drivers/perf/hisilicon/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
obj-$(CONFIG_HISI_PMU) += hisi_uncore_pmu.o hisi_uncore_l3c_pmu.o \
33
hisi_uncore_hha_pmu.o hisi_uncore_ddrc_pmu.o hisi_uncore_sllc_pmu.o \
4-
hisi_uncore_pa_pmu.o
4+
hisi_uncore_pa_pmu.o hisi_uncore_cpa_pmu.o
55

66
obj-$(CONFIG_HISI_PCIE_PMU) += hisi_pcie_pmu.o

0 commit comments

Comments
 (0)