drivers/perf: hisi: update the sccl_id/ccl_id when MT is supported
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Thu, 19 Jul 2018 11:26:40 +0000 (19:26 +0800)
committerWill Deacon <will.deacon@arm.com>
Tue, 24 Jul 2018 14:40:43 +0000 (15:40 +0100)
commit06060ea7fb5b6b9b4c3251e0dcabbcca8ad91674
tree7fa83608580ccdbd9602095a246d0a5b07c737e3
parentc13207905340d85eaddd85b6d2868218f324b180
drivers/perf: hisi: update the sccl_id/ccl_id when MT is supported

MT bit in MPIDR_EL1 is now supported in certain HiSilicon platforms, so
the mapping between sccl_id/ccl_id and affinity level needs to be updated
from the generic encoding we originally used.

Cc: John Garry <john.garry@huawei.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
[will: fixed comment]
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/hisilicon/hisi_uncore_pmu.c