Skip to content

x86/microcode: early microcode patch loading support on AMD

Jacob Shin lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 18 repliesIn review
  2. v23 patches 14 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v3 from the cover letter

* Moved early logic to microcode_amd_early.c
* Revised x86 vendor detection in microcode_core_early.c to use switch statement.
* Added AMD blurb to Documentation/x86/early-microcode.txt

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86, microcode, intel: Correct typo in printkarch/x86/kernel/microcode_intel_early.c+2 -20 replies
2/4x86/microcode: vendor abstract out save_microcode_in_initrd()arch/x86/include/asm/microcode_intel.h arch/x86/kernel/microcode_core_early.c arch/x86/kernel/microcode_intel_early.c+13 -10 replies
3/4x86/microcode/amd: refactor functions to prepare for early loadingarch/x86/include/asm/microcode_amd.h arch/x86/kernel/microcode_amd.c+106 -690 replies
4/4microcode/x86/amd: early microcode patch loading support for AMDDocumentation/x86/early-microcode.txt arch/x86/Kconfig arch/x86/include/asm/microcode_amd.h +4 more+310 -1718 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH V3 0/4] x86/microcode: early microcode patch loading support on AMD

The following patchset adds early microcode patch loading support on AMD systems, on top of the framework introduced by:
https://lkml.org/lkml/2012/12/21/193

V3:
* Moved early logic to microcode_amd_early.c
* Revised x86 vendor detection in microcode_core_early.c to use switch statement.
* Added AMD blurb to Documentation/x86/early-microcode.txt

V2:
* Fixed warnings when compiling without early loading
* Picked up a typo fix [PATCH 1/4] from Boris

Borislav Petkov (1):
x86, microcode, intel: Correct typo in printk

Jacob Shin (3):
x86/microcode: vendor abstract out save_microcode_in_initrd() x86/microcode/amd: refactor functions to prepare for early loading microcode/x86/amd: early microcode patch loading support for AMD

 Documentation/x86/early-microcode.txt   |   11 +-
 arch/x86/Kconfig                        |   14 +-
 arch/x86/include/asm/microcode_amd.h    |   78 +++++++++++
 arch/x86/include/asm/microcode_intel.h  |    2 +
 arch/x86/kernel/Makefile                |    1 +
 arch/x86/kernel/microcode_amd.c         |  133 +++++++++---------
 arch/x86/kernel/microcode_amd_early.c   |  222 +++++++++++++++++++++++++++++++
 arch/x86/kernel/microcode_core_early.c  |   49 ++++++-
 arch/x86/kernel/microcode_intel_early.c |    6 +-
 9 files changed, 429 insertions(+), 87 deletions(-)
 create mode 100644 arch/x86/include/asm/microcode_amd.h
 create mode 100644 arch/x86/kernel/microcode_amd_early.c
Signature · 1 line
1.7.9.5