Re: [PATCH] cpu/hotplug: Fix "SMT disabled by BIOS" detection for KVM

2019-01-29 Thread Thomas Gleixner
On Tue, 29 Jan 2019, Josh Poimboeuf wrote: > > Fixes: 73d5e2b47264 ("cpu/hotplug: detect SMT disabled by BIOS") > > Reported-by: Igor Mammedov > > Signed-off-by: Josh Poimboeuf > > NACK - Need to export "sched_smt_present" so KVM can call > sched_smt_active(). You beat me to it. Was just about

Re: [PATCH] cpu/hotplug: Fix "SMT disabled by BIOS" detection for KVM

2019-01-29 Thread Josh Poimboeuf
On Mon, Jan 28, 2019 at 10:52:56AM -0600, Josh Poimboeuf wrote: > With the following commit: > > 73d5e2b47264 ("cpu/hotplug: detect SMT disabled by BIOS") > > ... the hotplug code attempted to detect when SMT was disabled by BIOS, > in which case it reported SMT as permanently disabled. Howeve