]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
x86/microcode: Request microcode on the BSP
authorBorislav Petkov <bp@suse.de>
Wed, 28 Feb 2018 10:28:45 +0000 (11:28 +0100)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Thu, 12 Apr 2018 13:06:43 +0000 (10:06 -0300)
commit86f32375b5f69937db0f2cfe29eeaf9a1722e0d6
treeff13e936be872f3e797d35dff34a7cf86f833b12
parent08b1d9a2878f06e5dc5c0b517808688849e8ddb8
x86/microcode: Request microcode on the BSP

BugLink: http://bugs.launchpad.net/bugs/1763366
commit cfb52a5a09c8ae3a1dafb44ce549fde5b69e8117 upstream.

... 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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
arch/x86/kernel/cpu/microcode/core.c