Skip to content

x86/microcode: Drop old interface and default-disable late loading

Borislav Petkov lkml 1 version Applied

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

  1. v1 Latest4 patches 0 repliesApplied

Changelog from the cover letter

----------

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4x86/microcode: Rip out the OLD_INTERFACEarch/x86/Kconfig arch/x86/kernel/cpu/microcode/core.c+0 -1120 replies
2/4x86/microcode: Default-disable late loadingarch/x86/Kconfig arch/x86/kernel/cpu/common.c arch/x86/kernel/cpu/microcode/core.c+19 -10 replies
3/4x86/microcode: Taint and warn on late loadingarch/x86/kernel/cpu/microcode/core.c+5 -00 replies
4/4x86/microcode: Remove unnecessary perf callbackarch/x86/kernel/cpu/microcode/core.c+0 -30 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchPeter Zijlstra (Intel)
1/4
2/4Requested-by
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] x86/microcode: Drop old interface and default-disable late loading

From: Borislav Petkov <[email protected]>

Now tested.

AMD:

[  349.234368] microcode: Attempting late microcode loading - it is dangerous and taints the kernel.
[  349.244128] microcode: You should switch to early loading, if possible.
...
[  349.391934] microcode: Reload completed, microcode revision: 0xa001173

Intel:

[   50.726917] microcode: Attempting late microcode loading - it is dangerous and taints the kernel.
[   50.736139] microcode: You should switch to early loading, if possible.
[   50.745504] microcode: updated to revision 0x718, date = 2019-05-21
[   50.752000] x86/CPU: CPU features have changed after loading microcode, but might not take effect.
[   50.761158] x86/CPU: Please consider either early loading through initrd/built-in or a potential BIOS update.
[   50.771362] microcode: Reload completed, microcode revision: 0x718

Changelog:
----------

v0:

Totally untested, just sending out as a RFC first. This is something Peter and I talked about recently and think it makes sense.

Borislav Petkov (4):
x86/microcode: Rip out the OLD_INTERFACE
x86/microcode: Default-disable late loading
x86/microcode: Taint and warn on late loading
x86/microcode: Remove unnecessary perf callback

 arch/x86/Kconfig                     |  15 ++--
 arch/x86/kernel/cpu/common.c         |   2 +
 arch/x86/kernel/cpu/microcode/core.c | 115 +++------------------------
 3 files changed, 20 insertions(+), 112 deletions(-)
Signature · 1 line
2.35.1