cpu/hotplug: Online siblings when SMT control is turned on
authorThomas Gleixner <tglx@linutronix.de>
Sat, 7 Jul 2018 09:40:18 +0000 (11:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2018 16:12:55 +0000 (18:12 +0200)
commitac10995a749844c1e98c2a5ba650eddf26d0eba6
tree6e7eadd42b8a219226c20f102d90a32aa392f7b6
parent1c67bf4ca05328323bac6cfb79c91c69228c2090
cpu/hotplug: Online siblings when SMT control is turned on

commit 215af5499d9e2b55f111d2431ea20218115f29b3 upstream

Writing 'off' to /sys/devices/system/cpu/smt/control offlines all SMT
siblings. Writing 'on' merily enables the abilify to online them, but does
not online them automatically.

Make 'on' more useful by onlining all offline siblings.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/cpu.c