linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] x86/microcode: Add debugging glue
@ 2025-08-09  9:42 Borislav Petkov
  2025-08-09  9:42 ` [PATCH 1/2] x86/microcode: Add microcode= cmdline parsing Borislav Petkov
  2025-08-09  9:42 ` [PATCH 2/2] x86/microcode: Add microcode loader debugging functionality Borislav Petkov
  0 siblings, 2 replies; 15+ messages in thread
From: Borislav Petkov @ 2025-08-09  9:42 UTC (permalink / raw)
  To: X86 ML; +Cc: LKML, Borislav Petkov (AMD)

From: "Borislav Petkov (AMD)" <bp@alien8.de>

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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-08-18 16:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-09  9:42 [PATCH 0/2] x86/microcode: Add debugging glue Borislav Petkov
2025-08-09  9:42 ` [PATCH 1/2] x86/microcode: Add microcode= cmdline parsing Borislav Petkov
2025-08-12  2:26   ` Sohil Mehta
2025-08-12 10:23     ` Borislav Petkov
2025-08-12 19:14       ` Sohil Mehta
2025-08-12 21:28         ` Borislav Petkov
2025-08-14 23:08   ` Chang S. Bae
2025-08-15  9:20     ` Borislav Petkov
2025-08-15 19:50       ` Chang S. Bae
2025-08-18 16:30       ` Sohil Mehta
2025-08-09  9:42 ` [PATCH 2/2] x86/microcode: Add microcode loader debugging functionality Borislav Petkov
2025-08-12  3:04   ` Sohil Mehta
2025-08-12 10:26     ` Borislav Petkov
2025-08-12 18:57       ` Sohil Mehta
2025-08-12 19:09         ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).