[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250820135043.19048-1-bp@kernel.org>
Date: Wed, 20 Aug 2025 15:50:41 +0200
From: Borislav Petkov <bp@...nel.org>
To: X86 ML <x86@...nel.org>
Cc: "Chang S. Bae" <chang.seok.bae@...el.com>,
Sohil Mehta <sohil.mehta@...el.com>,
LKML <linux-kernel@...r.kernel.org>,
"Borislav Petkov (AMD)" <bp@...en8.de>
Subject: [PATCH -v1 0/2] x86/microcode: Add debugging glue
From: "Borislav Petkov (AMD)" <bp@...en8.de>
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(-)
--
2.51.0
Powered by blists - more mailing lists