Make microcode late loading more robust
Status from this message: The following commit has been merged into the x86/microcode branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest13 patches 15 repliesApplied
- v113 patches 7 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | x86/microcode/intel: Prevent printing updated microcode rev multiple timesarch/ | +2 | 12 replies | |
| 2/13 | x86/microcode/intel: Print old and new rev after early microcode updatearch/ | +20 | 0 replies | |
| 3/13 | x86/microcode/intel: Fix a hang if early loading microcode failsarch/ | +11 | 3 replies | |
| 4/13 | x86/microcode: Fix microcode_check() compare after a new uCode updatearch/ arch/ arch/ | +50 | 0 replies | |
| 5/13 | x86/microcode: Move late-load warning to earlier where kernel taint happensarch/ | +3 | 0 replies | |
| 6/13 | x86/ipi: Support sending NMI_VECTOR as self ipiarch/ arch/ arch/ | +42 | 0 replies | |
| 7/13 | x86/microcode: Place siblings in NMI loop while update in progressarch/ arch/ arch/ +2 more | +210 | 0 replies | |
| 8/13 | x86/mce: Warn of a microcode update is in progress when MCE arrivesarch/ arch/ arch/ | +16 | 0 replies | |
| 9/13 | x86/microcode/intel: Add minimum required revision to microcode headerarch/ arch/ | +29 | 0 replies | |
| 10/13 | x86/microcode: Add a generic mechanism to declare support for minrevarch/ arch/ arch/ +1 more | +23 | 0 replies | |
| 11/13 | x86/microcode/intel: Drop wbinvd() from microcode loadingarch/ | +0 | 0 replies | |
| 12/13 | x86/microcode: Display revisions only when update is successfularch/ | +3 | 0 replies | |
| 13/13 | x86/microcode/intel: Add ability to update microcode even if rev is unchangedarch/ arch/ arch/ +1 more | +23 | 0 replies |
Reviews trailers per patch
All 13 patches have a Reviewed-by or Acked-by.
| Patch | Tony Luck | William Xie |
|---|---|---|
| 1/13 | R-b | |
| 2/13 | R-b | |
| 3/13 | R-b | |
| 4/13 | R-b | |
| 5/13 | R-b | |
| 6/13 | R-b | |
| 7/13 | R-b | |
| 8/13 | R-b | |
| 9/13 | R-b | T-b |
| 10/13 | R-b | |
| 11/13 | R-b | |
| 12/13 | R-b | |
| 13/13 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [v2 00/13] Make microcode late loading more robust
Hi Thomas & Boris
This series is based on the recent cleanup series from Boris, here below:
https://lore.kernel.org/lkml/[email protected]/
Previous post here:
https://lore.kernel.org/lkml/[email protected]/
Ashok Raj (12):
x86/microcode/intel: Prevent printing updated microcode rev multiple
times
x86/microcode/intel: Print old and new rev after early microcode
update
x86/microcode/intel: Fix a hang if early loading microcode fails x86/microcode: Fix microcode_check() compare after a new uCode update x86/microcode: Move late-load warning to earlier where kernel taint
happens
x86/microcode: Place siblings in NMI loop while update in progress x86/mce: Warn of a microcode update is in progress when MCE arrives x86/microcode/intel: Add minimum required revision to microcode header x86/microcode: Add a generic mechanism to declare support for minrev x86/microcode/intel: Drop wbinvd() from microcode loading x86/microcode: Display revisions only when update is successful x86/microcode/intel: Add ability to update microcode even if rev is
unchanged
Jacob Pan (1):
x86/ipi: Support sending NMI_VECTOR as self ipi
arch/x86/include/asm/microcode.h | 43 ++++++ arch/x86/include/asm/microcode_intel.h | 4 +- arch/x86/include/asm/processor.h | 1 - arch/x86/kernel/apic/ipi.c | 6 +- arch/x86/kernel/apic/x2apic_phys.c | 6 +- arch/x86/kernel/cpu/common.c | 32 ---- arch/x86/kernel/cpu/mce/core.c | 5 + arch/x86/kernel/cpu/microcode/amd.c | 2 +- arch/x86/kernel/cpu/microcode/core.c | 200 +++++++++++++++++++++++-- arch/x86/kernel/cpu/microcode/intel.c | 96 ++++++++---- arch/x86/kernel/cpu/microcode/nmi.c | 71 +++++++++ arch/x86/kernel/nmi.c | 7 + arch/x86/kernel/nmi_selftest.c | 32 ++++ arch/x86/Kconfig | 7 +- arch/x86/kernel/cpu/microcode/Makefile | 1 + 15 files changed, 427 insertions(+), 86 deletions(-) create mode 100644 arch/x86/kernel/cpu/microcode/nmi.c
Signature · 1 line
2.34.1