Messages in this thread | | | From | Qi Liu <> | Subject | [PATCH v5 0/2] Add Support for HiSilicon CPA PMU | Date | Fri, 15 Apr 2022 18:23:50 +0800 |
| |
Add Support for HiSilicon CPA PMU driver. Json file in perf tool is applied in https://lore.kernel.org/linux-arm-kernel/YhkhSZp+a715Ldzr@kernel.org/.
Change since v4: - Add hisi_cpa_pmu_enable_pm() for a failed probe. - Link: https://lore.kernel.org/linux-arm-kernel/20220407124617.54521-1-liuqi115@huawei.com/
Change since v3: - Add more explanation for changing CPA PMUs CPU affinity. - Address the comments from John. - Link: https://lore.kernel.org/linux-arm-kernel/20220321070124.41338-1-liuqi115@huawei.com/
Change since v2: - Associate CPA PMUs with CPUs online, rather than CPUs in the nearest SCCL. - Move CPA power management to probe and remove function. - Address the comments from John. - Link: https://lore.kernel.org/linux-arm-kernel/20220224111129.41416-1-liuqi115@huawei.com/
Change since v1: - Address the comments from John. - Link: https://lore.kernel.org/linux-arm-kernel/20220214114228.40859-1-liuqi115@huawei.com/
Qi Liu (2): drivers/perf: hisi: Associate PMUs in SICL with CPUs online drivers/perf: hisi: Add Support for CPA PMU
drivers/perf/hisilicon/Makefile | 2 +- drivers/perf/hisilicon/hisi_uncore_cpa_pmu.c | 409 +++++++++++++++++++ drivers/perf/hisilicon/hisi_uncore_pa_pmu.c | 18 +- drivers/perf/hisilicon/hisi_uncore_pmu.c | 4 + drivers/perf/hisilicon/hisi_uncore_pmu.h | 1 + include/linux/cpuhotplug.h | 1 + 6 files changed, 423 insertions(+), 12 deletions(-) create mode 100644 drivers/perf/hisilicon/hisi_uncore_cpa_pmu.c
-- 2.24.0
| |