[PATCH 0/2] x86/microcode: Unify early reporting

From: Borislav Petkov
Date: Wed Nov 15 2023 - 16:03:03 EST


From: "Borislav Petkov (AMD)" <bp@xxxxxxxxx>

Hi,

this has been a pet peeve of mine for a while now and Linus prompted me
to finally do it.

So, this reworks the early microcode revision reporting on both sides of
the loader and unifies them into issuing only two lines max, for
example:

microcode: Current revision: 0x0a201025
microcode: Updated early from: 0x0a201016

The per-thread microcode revisions are in /proc/cpuinfo anyway so
grepping that is what people who are really interested, should do while
dmesg remains *not* flooded with the same revision number over and over
again.

Thx.

Borislav Petkov (AMD) (2):
x86/microcode: Remove the driver announcement and version
x86/microcode: Rework early revisions reporting

arch/x86/kernel/cpu/microcode/amd.c | 39 +++++++-----------------
arch/x86/kernel/cpu/microcode/core.c | 16 ++++++----
arch/x86/kernel/cpu/microcode/intel.c | 17 +++++------
arch/x86/kernel/cpu/microcode/internal.h | 14 ++++++---
4 files changed, 38 insertions(+), 48 deletions(-)


base-commit: b85ea95d086471afb4ad062012a4d73cd328fa86
--
2.42.0.rc0.25.ga82fb66fed25