OSDN Git Service

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)
commit807907dae9701c4b0593d5195d4839f17d103314
treee3c2ed40d10d265fc6a2d2b85f5375825c9f823f
parent47a9ed88a4fc6c67ea7f1d65df28d2eb6a89bbbb
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