[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250809094206.28028-1-bp@kernel.org>
Date: Sat, 9 Aug 2025 11:42:04 +0200
From: Borislav Petkov <bp@...nel.org>
To: X86 ML <x86@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
"Borislav Petkov (AMD)" <bp@...en8.de>
Subject: [PATCH 0/2] x86/microcode: Add debugging glue
From: "Borislav Petkov (AMD)" <bp@...en8.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
Powered by blists - more mailing lists