Skip to content

x86/microcode/amd: early loading fixes

Jacob Shin lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 5 repliesIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 4 repliesSuperseded

Changes in v3 from the cover letter

* style fix -- reduce multiple if statements into a single one

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/microcode/amd: make find_ucode_in_initrd() __initarch/x86/kernel/microcode_amd_early.c+69 -330 replies
2/2x86/microcode/amd: allow multiple families' bin files appended togetherarch/x86/kernel/microcode_amd_early.c+56 -120 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH V3 0/2] x86/microcode/amd: early loading fixes

This patchset addreses two problems with early loading on AMD.

First, feedback from Yinghai that find_ucode_in_initrd() should be marked __init:
https://lkml.org/lkml/2013/6/4/695

And second, feedback from Henrique that Intel early loading supports multiple microcode firmware concatenated together, whereas the current AMD implementation lacks this support:
https://lkml.org/lkml/2013/5/31/4

V3:
* style fix -- reduce multiple if statements into a single one

V2:
* test for !initrd_start before using it
* use __pa() instead of __pa_nodebug() on AP load
* fixed calculation of start offset and size of the microcode container file

Jacob Shin (2):
x86/microcode/amd: make find_ucode_in_initrd() __init x86/microcode/amd: allow multiple families' bin files appended
together

 arch/x86/kernel/microcode_amd_early.c |  170 ++++++++++++++++++++++++---------
 1 file changed, 125 insertions(+), 45 deletions(-)
Signature · 1 line
1.7.9.5