x86/microcode: Request microcode on the BSP
authorBorislav Petkov <bp@suse.de>
Wed, 28 Feb 2018 10:28:45 +0000 (11:28 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 8 Mar 2018 09:19:26 +0000 (10:19 +0100)
commitcfb52a5a09c8ae3a1dafb44ce549fde5b69e8117
tree1fdbd2483d37be773484910ac7928341ff901d9c
parentd8c3b52c00a05036e0a6b315b4b17921a7b67997
x86/microcode: Request microcode on the BSP

... so that any newer version can land in the cache and can later be
fished out by the application functions. Do that before grabbing the
hotplug lock.

Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Tom Lendacky <thomas.lendacky@amd.com>
Tested-by: Ashok Raj <ashok.raj@intel.com>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Arjan Van De Ven <arjan.van.de.ven@intel.com>
Link: https://lkml.kernel.org/r/20180228102846.13447-7-bp@alien8.de
arch/x86/kernel/cpu/microcode/core.c