MIPS: Rework smt cmdline parameters
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Sun, 21 May 2023 22:31:22 +0000 (23:31 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 9 Jun 2023 08:34:14 +0000 (10:34 +0200)
commit96cb8ae28c652e7ef0633b1c0786eb0f529ed516
tree3490ae910dca2655c0fd16b9ece2d4974dc9e886
parentdfbd992e0ef2319b869bf69fe649d34d2dc49e4b
MIPS: Rework smt cmdline parameters

Provide a generic smt parameters interface aligned with s390
to allow users to limit smt usage and threads per core.

It replaced previous undocumented "nothreads" parameter for
smp-cps which is ambiguous and does not cover smp-mt.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Documentation/admin-guide/kernel-parameters.txt
arch/mips/include/asm/smp.h
arch/mips/kernel/smp-cps.c
arch/mips/kernel/smp-mt.c
arch/mips/kernel/smp.c