LoongArch: Add SMT (Simultaneous Multi-Threading) support
mainline inclusion from mainline-v6.5-rc1 commit f6f0c9a7 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7MWTU CVE: NA -------------------------------- Loongson-3A6000 has SMT (Simultaneous Multi-Threading) support, each physical core has two logical cores (threads). This patch add SMT probe and scheduler support via ACPI PPTT. If SCHED_SMT enabled, Loongson-3A6000 is treated as 4 cores, 8 threads; If SCHED_SMT disabled, Loongson-3A6000 is treated as 8 cores, 8 threads. Remove smp_num_siblings to support HMP (Heterogeneous Multi-Processing). Signed-off-by:Yongzhen Zhang <zhangyongzhen@kylinos.cn> Signed-off-by:
Liupu Wang <wangliupu@loongson.cn> Signed-off-by:
Huacai Chen <chenhuacai@loongson.cn>
Loading
Please sign in to comment