[OpenWrt-Devel] [PATCH v2 0/2] amd-microcode: load as early as possible

Tomasz Maciej Nowak tomek_n at o2.pl
Wed Oct 31 13:48:36 EDT 2018


This series is continuation of previous atempt [1]. AFAIK there are no
caveats for late loading of microcode for AMD processors, so it makes
this series completely optional, but as kernel folks consider late load
of microcode legacy method [2] lets switch to early one.
Loading of microcode  was succesfully tested on Acer D1F-AD (OEM)
mainboard.

Needs to be applied after "intel-microcode: load as early as possible"
series [3] or successor.

1. https://patchwork.ozlabs.org/project/lede/list/?series=40618
2. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/x86/microcode.txt#n89
3. https://patchwork.ozlabs.org/project/openwrt/list/?series=73447

Changes v2:
  - rework the microcode loading; if both microcode images (amd and
    intel) were installed, grub loaded only the last one defined as
    initrd:
    x86: add amd microcode entries to grub config
  - no changes:
    amd64-microcode: create early load microcode image

Tomasz Maciej Nowak (2):
  x86: add amd microcode entries to grub config
  amd64-microcode: create early load microcode image

 package/firmware/amd64-microcode/Makefile            | 10 ++++++++--
 .../x86/base-files/lib/preinit/02_load_x86_ucode     | 12 ------------
 target/linux/x86/image/grub-iso.cfg                  |  9 +++++++--
 target/linux/x86/image/grub.cfg                      |  9 +++++++--
 4 files changed, 22 insertions(+), 18 deletions(-)
 delete mode 100644 target/linux/x86/base-files/lib/preinit/02_load_x86_ucode

-- 
2.19.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list