]> git.hungrycats.org Git - linux/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2018 16:11:08 +0000 (18:11 +0200)
commitf6b2c7253830473fedb8b5680894660e78e03aea
tree8e4cfd9065960f562b5fb67fb561f6ded18f420d
parentbc651db4b335fcbbe7d20e7416f97faab5580500
x86/microcode: Allow late microcode loading with SMT disabled

commit 07d981ad4cf1e78361c6db1c28ee5ba105f96cc1 upstream

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/cpu/microcode/core.c