diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2023-06-29 20:58:43 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-06-29 20:58:43 +0800 |
commit | f6f0c9a74a48448583c3cb0f3f067bc3fe0f13c6 (patch) | |
tree | e31359d5a5de9d228a03ba15ca70a3855586c902 /scripts/gdb/linux/clk.py | |
parent | 616500232e632dba8b03981eeccadacf2fbf1c30 (diff) |
LoongArch: Add SMT (Simultaneous Multi-Threading) support
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: Liupu Wang <wangliupu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions