Skip to content

x86/microcode: Improve late loading

Borislav Petkov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7x86/microcode: Get rid of struct apply_microcode_ctxarch/x86/kernel/cpu/microcode/core.c+8 -110 replies
2/7x86/microcode/intel: Check microcode revision before updating sibling threadsarch/x86/kernel/cpu/microcode/intel.c+24 -30 replies
3/7x86/microcode/intel: Writeback and invalidate caches before updating microcodearch/x86/kernel/cpu/microcode/intel.c+12 -00 replies
4/7x86/microcode: Do not upload microcode if CPUs are offlinearch/x86/kernel/cpu/microcode/core.c+18 -04 replies
5/7x86/microcode/intel: Look into the patch cache firstarch/x86/kernel/cpu/microcode/intel.c+5 -60 replies
6/7x86/microcode: Request microcode on the BSParch/x86/kernel/cpu/microcode/core.c+5 -61 reply
7/7x86/microcode: Synchronize late microcode loadingarch/x86/kernel/cpu/microcode/core.c+92 -264 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchTom LendackyAshok Raj
SeriesT-b T-b
1/7
2/7
3/7
4/7R-b
5/7
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: Borislav Petkov <[email protected]>

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(-)
Signature · 1 line
2.13.0