drivers/perf: hisi: update the sccl_id/ccl_id for certain HiSilicon platform
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Thu, 7 Nov 2019 07:56:04 +0000 (15:56 +0800)
committerWill Deacon <will@kernel.org>
Thu, 7 Nov 2019 13:07:55 +0000 (13:07 +0000)
commit8703317ae576c9bf3e07e5b97275e3f957e8d74b
tree1cb81080252971b139c64cb4aa7196745cd26a76
parentf1d303a1b5dd75d18734a2ca56ca90691639a79d
drivers/perf: hisi: update the sccl_id/ccl_id for certain HiSilicon platform

For some HiSilicon platform, the originally designed SCCL_ID and CCL_ID
are not satisfied with much rich topology when the MT is set, so we
extend the SCCL_ID to MPIDR[aff3] and CCL_ID to MPIDR[aff2]. Let's
update this for HiSilicon uncore PMU driver.

Cc: John Garry <john.garry@huawei.com>
Cc: Hanjun Guo <guohanjun@huawei.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/hisilicon/hisi_uncore_pmu.c