]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/perf: hisi: Associate PMUs in SICL with CPUs online
authorQi Liu <liuqi115@huawei.com>
Fri, 15 Apr 2022 10:23:51 +0000 (18:23 +0800)
committerWill Deacon <will@kernel.org>
Fri, 6 May 2022 14:14:31 +0000 (15:14 +0100)
commitfc79bc3608f47ed3a83e11e72afd78012b80bfe9
treee3c2ed40d10d265fc6a2d2b85f5375825c9f823f
parentfffdca5f7617f8aa6efaf2e29203f6c58342fb61
drivers/perf: hisi: Associate PMUs in SICL with CPUs online

If a PMU is in a SICL (Super IO cluster), it is not appropriate to
associate this PMU with a CPU die. So we associate it with all CPUs
online, rather than CPUs in the nearest SCCL.

As the firmware of Hip09 platform hasn't been published yet, change
of PMU driver will not influence backwards compatibility between
driver and firmware.

Signed-off-by: Qi Liu <liuqi115@huawei.com>
Reviewed-by: John Garry <john.garry@huawei.com>
Link: https://lore.kernel.org/r/20220415102352.6665-2-liuqi115@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/hisilicon/hisi_uncore_pa_pmu.c
drivers/perf/hisilicon/hisi_uncore_pmu.c
drivers/perf/hisilicon/hisi_uncore_pmu.h