[PATCH v2 0/6] Some fixes and cleanups for microcode

From: Ashok Raj
Date: Tue Dec 27 2022 - 14:24:00 EST


Hi Boris

This is a followup after earlier post [1]
First 2 patches have been merged, sending the rest of the patches after
addressing comments and adding Thomas's reviewed by.

Please review and consider applying.

Changes since last post.

v2:
- Updated commit logs as suggested by Thomas and Boris
- Added Reviewed-by Thomas, and Tony

[1]https://lore.kernel.org/lkml/20221129210832.107850-1-ashok.raj@xxxxxxxxx/

Cheers,
Ashok

Ashok Raj (6):
x86/microcode/core: Move microcode_check() to cpu/microcode/core.c
x86/microcode/core: Take a snapshot before and after applying
microcode
x86/microcode: Display revisions only when update is successful
x86/microcode/intel: Use a plain revision argument for
print_ucode_rev()
x86/microcode/intel: Print old and new rev during early boot
x86/microcode/intel: Print when early microcode loading fails

arch/x86/include/asm/processor.h | 3 +-
arch/x86/kernel/cpu/cpu.h | 1 -
arch/x86/kernel/cpu/common.c | 32 --------------
arch/x86/kernel/cpu/microcode/core.c | 62 +++++++++++++++++++++++++--
arch/x86/kernel/cpu/microcode/intel.c | 52 +++++++++++-----------
5 files changed, 83 insertions(+), 67 deletions(-)


base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2
--
2.34.1