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

Borislav Petkov
2023-11-15T21:03:03Z

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

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