[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221129210832.107850-1-ashok.raj@intel.com>
Date: Tue, 29 Nov 2022 13:08:25 -0800
From: Ashok Raj <ashok.raj@...el.com>
To: Borislav Petkov <bp@...en8.de>
Cc: X86-kernel <x86@...nel.org>,
LKML Mailing List <linux-kernel@...r.kernel.org>,
Ashok Raj <ashok.raj@...el.com>,
Dave Hansen <dave.hansen@...el.com>,
Tony Luck <tony.luck@...el.com>, alison.schofield@...el.com,
reinette.chatre@...el.com
Subject: [Patch V1 0/7] x86/microcode: Some cleanups and fixes for microcode
Hi Boris
These are based on tip/x86/microcode after the recent IFS merge.
As discussed in IRC, feel free to massage/rework/re-organize them in a way
that you intend to see them.
Patch1: Fixes a minor race in pr_info due to a recent change in
microcode_init() sequence.
Patch2: Remove microcode apply retries that cause a hang when loading
fails.
Patch3: Prep patch for patch4, since its only used in core.c make it local
there.
Patch4: Take a snapshot of x86 features before and after microcode update,
instead of using the one from boot_cpu already cached.
Patch5: prepare early print to simplify patch 6 and 7.
Patch6: Print old and new rev after early loading. Its useful to know what
BIOS version of the patchrev was.
Patch7: Print a message when early loading fails. Currently there is no
message to user.
Ashok Raj (7):
x86/microcode/intel: Remove redundant microcode rev pr_info()s
x86/microcode/intel: Remove retries on early microcode load
x86/microcode/core: Move microcode_check() to cpu/microcode/core.c
x86/microcode/core: Take a snapshot before and after applying
microcode
x86/microcode/intel: Prepare the print_ucode_rev to simply take a rev
to print
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 | 49 +++++++++++++++++++-
arch/x86/kernel/cpu/microcode/intel.c | 67 +++++++++++----------------
5 files changed, 75 insertions(+), 77 deletions(-)
base-commit: 1a63b58082869273bfbab1b945007193f7bd3a78
--
2.34.1
Powered by blists - more mailing lists