[LEDE-DEV] [RFC PATCH 0/3] intel-microcode: load as early as possible

Tomasz Maciej Nowak tomek_n at o2.pl
Tue Apr 3 06:13:34 PDT 2018


This small series addresses current problem with late loading of Intel
microcode in OpenWrt. Following the commit messages [1] and later
discussion, late loading off the microcode can be ineffective for some
processors [2] and for others disabled [3]. Also it is discouraged for
any processor starting from Haswell and Silvermont.
Therefore this series converts the Intel microcode bundle to an initial
ram disk which is loaded with grub, so kernel has access to it as early
as possible.

1. https://lwn.net/Articles/530346
2. http://linux-kernel.vger.kernel.narkive.com/9XAb9Kw2/patch-v4-00-11-x86-microcode-early-load-microcode#post18
3. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=723f2828a98c8ca19842042f418fb30dd8cfc0f7

Tomasz Maciej Nowak (3):
  intel-microcode: remove dependency on iucode-tool
  x86: add intel microcode entries to grub config
  intel-microcode: create early load microcode image

 package/firmware/intel-microcode/Makefile          | 34 +++++++++++++++++-----
 .../x86/base-files/lib/preinit/02_load_x86_ucode   |  6 ++--
 target/linux/x86/image/Makefile                    | 10 +++++--
 target/linux/x86/image/grub-iso.cfg                |  3 ++
 target/linux/x86/image/grub.cfg                    |  3 ++
 5 files changed, 45 insertions(+), 11 deletions(-)

-- 
2.16.3




More information about the Lede-dev mailing list