Skip to content

x86/microcode: Add debugging glue

Borislav Petkov linux-doc linux-nilfs lkml oe-lkp 1 version Applied

Status from this message: The following commit has been merged into the x86/microcode branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesApplied

Changelog from the cover letter

=========

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2x86/microcode: Add microcode= cmdline parsingDocumentation/admin-guide/kernel-parameters.txt arch/x86/Kconfig arch/x86/kernel/cpu/microcode/core.c+30 -87 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+118 -236 replies

Reviews trailers per patch

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

PatchSohil MehtaChang S. Bae
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 -v1 0/2] x86/microcode: Add debugging glue

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

Hi,

ok, here's v1 with all review feedback incorporated.

I haven't added tags from previous review because they were to a conglomerate diff and not to an actual patch.

Btw, the thing helped me already debug one small issue. So already bearing fruits. :-)

Thx.

Changelog:
=========

v0
--

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.

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

 .../admin-guide/kernel-parameters.txt         | 14 ++-
 arch/x86/Kconfig                              | 16 +++-
 arch/x86/kernel/cpu/microcode/amd.c           | 88 ++++++++++++++-----
 arch/x86/kernel/cpu/microcode/core.c          | 51 +++++++++--
 arch/x86/kernel/cpu/microcode/internal.h      | 10 +++
 5 files changed, 148 insertions(+), 31 deletions(-)
Signature · 1 line
2.51.0