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

Borislav Petkov posted 2 patches 2 years, 1 month ago
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(-)
[PATCH 0/2] x86/microcode: Unify early reporting
Posted by Borislav Petkov 2 years, 1 month ago
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
Re: [PATCH 0/2] x86/microcode: Unify early reporting
Posted by Thomas Gleixner 2 years, 1 month ago
On Wed, Nov 15 2023 at 22:02, Borislav Petkov wrote:
> From: "Borislav Petkov (AMD)" <bp@alien8.de>
> microcode: Current revision: 0x0a201025
> microcode: Updated early from: 0x0a201016

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>