]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b986e7501fa73aaaf1161a92b29aab932e80581
tree1cb81080252971b139c64cb4aa7196745cd26a76
parent140a7f8e68492c55f2e4b2398c870fb634394b2d
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