[PATCH 0/7] x86/microcode: Improve late loading

From: Borislav Petkov
Date: Wed Feb 28 2018 - 05:29:28 EST


From: Borislav Petkov <bp@xxxxxxx>

Hi,

here are a bunch of patches which improve microcode late loading.

Before you read any further: the early loading method is still the
preferred one and you should always do that. This patchset is improving
the late loading mechanism for long running jobs and cloud use cases -
i.e., use cases where early loading is, hm, a bit problematic.

Ashok Raj (4):
x86/microcode/intel: Check microcode revision before updating sibling
threads
x86/microcode/intel: Writeback and invalidate caches before updating
microcode
x86/microcode: Do not upload microcode if CPUs are offline
x86/microcode: Synchronize late microcode loading

Borislav Petkov (3):
x86/microcode: Get rid of struct apply_microcode_ctx
x86/microcode/intel: Look into the patch cache first
x86/microcode: Request microcode on the BSP

arch/x86/kernel/cpu/microcode/core.c | 158 +++++++++++++++++++++++++---------
arch/x86/kernel/cpu/microcode/intel.c | 48 +++++++++--
2 files changed, 159 insertions(+), 47 deletions(-)

--
2.13.0