Skip to content

x86/microcode: Add debugging glue

Borislav Petkov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/microcode: Add microcode= cmdline parsingDocumentation/admin-guide/kernel-parameters.txt arch/x86/kernel/cpu/microcode/core.c+30 -88 replies
2/2x86/microcode: Add microcode loader debugging functionalityDocumentation/admin-guide/kernel-parameters.txt arch/x86/Kconfig arch/x86/kernel/cpu/microcode/amd.c +2 more+119 -234 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchChang S. BaeSohil Mehta
1/2R-b R-b
2/2

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: Add debugging glue

From: "Borislav Petkov (AMD)" <[email protected]>

Hi,

this is something I've been meaning to do for a long time: each time when doing despicable things to the loader, I get to add debugging code too and run it in a VM to see how those despicable things fare. But then I remove the debugging glue again when cleaning up the despicable things and turning them into proper patches.

So make this debugging code permanent but keep it out of reach from production use and have it build- and boot-disabled by default.

Thx.

Borislav Petkov (AMD) (2):
x86/microcode: Add microcode= cmdline parsing x86/microcode: Add microcode loader debugging functionality

 .../admin-guide/kernel-parameters.txt         | 15 +++-
 arch/x86/Kconfig                              | 12 +++
 arch/x86/kernel/cpu/microcode/amd.c           | 88 ++++++++++++++-----
 arch/x86/kernel/cpu/microcode/core.c          | 55 ++++++++++--
 arch/x86/kernel/cpu/microcode/internal.h      | 10 +++
 5 files changed, 149 insertions(+), 31 deletions(-)
Signature · 1 line
2.43.0