Skip to content

x86/microcode/amd: Do not overwrite specific patch levels

Borislav Petkov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/microcode/amd: Extract current patch level read to a functionarch/x86/include/asm/microcode_amd.h arch/x86/kernel/cpu/microcode/amd.c arch/x86/kernel/cpu/microcode/amd_early.c+30 -120 replies
2/2x86/microcode/amd: Do not overwrite final patch levelsarch/x86/include/asm/microcode_amd.h arch/x86/kernel/cpu/microcode/amd.c arch/x86/kernel/cpu/microcode/amd_early.c+44 -90 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchPeter Kirchgeßner
SeriesT-b
1/2
2/2T-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/2] x86/microcode/amd: Do not overwrite specific patch levels

From: Borislav Petkov <[email protected]>

Certain patch levels supplied by the BIOS should not be upgraded and overwritten by the microcode loader because doing so leaves the system dead in the water.

The two below provide for filtering out those levels and avoiding the update, thereby making those patch levels final.

Borislav Petkov (2):
x86/microcode/amd: Extract current patch level read to a function x86/microcode/amd: Do not overwrite final patch levels

 arch/x86/include/asm/microcode_amd.h      |  1 +
 arch/x86/kernel/cpu/microcode/amd.c       | 52 +++++++++++++++++++++++++++++--
 arch/x86/kernel/cpu/microcode/amd_early.c | 24 ++++++++------
 3 files changed, 65 insertions(+), 12 deletions(-)
Signature · 1 line
2.3.5