]> asedeno.scripts.mit.edu Git - linux.git/commit
x86/microcode: Allow late microcode loading with SMT disabled
authorJosh Poimboeuf <jpoimboe@redhat.com>
Fri, 10 Aug 2018 07:31:10 +0000 (08:31 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 10 Aug 2018 07:32:15 +0000 (08:32 +0100)
commit07d981ad4cf1e78361c6db1c28ee5ba105f96cc1
tree454a7eb59e1bb52ff4707a29220f239efba26a73
parente24f14b0ff985f3e09e573ba1134bfdf42987e05
x86/microcode: Allow late microcode loading with SMT disabled

The kernel unnecessarily prevents late microcode loading when SMT is
disabled.  It should be safe to allow it if all the primary threads are
online.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
arch/x86/kernel/cpu/microcode/core.c