Files
linux/Documentation
Huacai Chen 009ee0c964 LoongArch: Add HOTPLUG_SMT implementation
For benchmarking or debugging purpose, we usually want to control SMT
via boot parameter and sysfs knobs. So add HOTPLUG_SMT implementation.

1. Boot parameters:

nosmt:		Disable SMT, can be enabled via sysfs knobs.
nosmt=force:	Disable SMT, cannot be enabled via sysfs knobs.

2. Runtime sysfs controls:

Write "on", "off", "forceoff" or the number of SMT threads (1, 2, ...)
to /sys/devices/system/cpu/smt/control.

Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
2026-02-10 19:31:13 +08:00
..
2026-01-11 06:09:11 -10:00
2026-01-11 06:09:11 -10:00
2025-12-18 21:34:42 -08:00
2026-01-24 16:16:47 -08:00
2025-11-05 11:23:39 -07:00
2025-12-01 11:53:59 +02:00
2025-10-28 16:01:20 -06:00