提交 1c644eba 编写于 作者: J Junhao He 提交者: Zheng Zengkai

perf: hisi: Fix read sccl_id and ccl_id error in TSV200

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I68F5A
CVE: NA

--------------------------------

In TSV200 platform, SCCL is Aff3[7:0], CCL is Aff2[7:0] if mt.
Fixes: 1af26389 ("perf: hisi: Fix read sccl_id and ccl_id error in some platform")
Signed-off-by: NJunhao He <hejunhao3@huawei.com>
Reviewed-by: NYang Shen <shenyang39@huawei.com>
Reviewed-by: NYang Jihong <yangjihong1@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 86eebefd
...@@ -437,7 +437,6 @@ static void hisi_read_sccl_and_ccl_id(int *scclp, int *cclp) ...@@ -437,7 +437,6 @@ static void hisi_read_sccl_and_ccl_id(int *scclp, int *cclp)
if (mt) { if (mt) {
switch (read_cpuid_part_number()) { switch (read_cpuid_part_number()) {
case HISI_CPU_PART_TSV110: case HISI_CPU_PART_TSV110:
case HISI_CPU_PART_TSV200:
case ARM_CPU_PART_CORTEX_A55: case ARM_CPU_PART_CORTEX_A55:
sccl = aff2 >> 3; sccl = aff2 >> 3;
ccl = aff2 & 0x7; ccl = aff2 & 0x7;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册