Commit 4aaf7df8 authored by Yicong Yang's avatar Yicong Yang Committed by Jie Liu
Browse files

arm64: topology: Support SMT control on ACPI based system

kunpeng inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8TAPW
CVE: NA

Reference: https://lore.kernel.org/all/20231121092602.47792-1-yangyicong@huawei.com/



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

For ACPI we'll build the topology from PPTT and we cannot directly
get the SMT number of each core. Instead using a temporary xarray
to record the SMT number of each core when building the topology
and we can know the largest SMT number in the system. Then we can
notify the arch_topology for supporting SMT control.

Signed-off-by: default avatarYicong Yang <yangyicong@hisilicon.com>
Signed-off-by: default avatarJie Liu <liujie375@h-partners.com>
parent 44a2386e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment