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:14:49 +0000 (18:14 +0200)
commite7cda2ffe1279bcf63f1dd8bbc3c7b818a9ba457
treec7db2e39cd9931bca1b20668712d091b903d92e7
parenta8c14676a93da6b3ef6610b37ef84e7d89f9f3a2
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: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/cpu.c