[PATCH v4 0/6] Some fixes and cleanups for microcode
From: Ashok Raj
Date: Mon Jan 09 2023 - 10:40:48 EST
Hi Boris,
Here is a followup after v3[1] with all comments addressed.
Please review and apply.
Changes since v3:
Tony, Ingo
- Display clear message when microcode load fails.
Boris
- Changed function names microcode_store_cpu_caps() ->
store_cpu_caps().
- Fix commit logs
- Document new parameter to microcode_check()
Dave Hansen
- Fix commit log
- Change parameter names from generic to something that's
meaningful.
[1] https://lore.kernel.org/lkml/20230103180212.333496-1-ashok.raj@xxxxxxxxx/
Ashok Raj (6):
x86/microcode: Add a parameter to microcode_check() to store CPU
capabilities
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/common.c | 48 ++++++++++++++++++-------
arch/x86/kernel/cpu/microcode/core.c | 20 ++++++++---
arch/x86/kernel/cpu/microcode/intel.c | 52 +++++++++++++--------------
4 files changed, 77 insertions(+), 46 deletions(-)
base-commit: b7bfaa761d760e72a969d116517eaa12e404c262
prerequisite-patch-id: 450e9658e9f802a2f3f784ba18267bc47ee878b8
--
2.34.1