Star64_linux/arch/x86/kernel/cpu/microcode
Borislav Petkov 760d765b2b x86/microcode: Parse built-in microcode early
Apparently, people do build microcode into the kernel image, i.e.
CONFIG_FIRMWARE_IN_KERNEL=y.

Make that work in the early loader which is where microcode should be
preferably loaded anyway.

Note that you need to specify the microcode filename with the path
relative to the toplevel firmware directory (the same like the late
loading method) in CONFIG_EXTRA_FIRMWARE=y so that early loader can
find it.

I.e., something like this (Intel variant):

  CONFIG_FIRMWARE_IN_KERNEL=y
  CONFIG_EXTRA_FIRMWARE="intel-ucode/06-3a-09"
  CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"

While at it, add me to the loader copyright boilerplate.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Daniel J Blueman <daniel@numascale.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-05-06 11:24:53 +02:00
..
amd.c x86/microcode/amd: Drop the pci_ids.h dependency 2015-03-31 09:54:32 +02:00
amd_early.c x86/microcode: Parse built-in microcode early 2015-05-06 11:24:53 +02:00
core.c x86, microcode: Return error from driver init code when loader is disabled 2015-01-28 09:23:40 +01:00
core_early.c x86/microcode: Parse built-in microcode early 2015-05-06 11:24:53 +02:00
intel.c x86/microcode/intel: Move mc arg last in get_matching_{microcode|sig} 2015-03-02 20:32:13 +01:00
intel_early.c x86/microcode: Parse built-in microcode early 2015-05-06 11:24:53 +02:00
intel_lib.c x86/microcode/intel: Remove unused @rev arg of get_matching_sig() 2015-05-06 11:24:52 +02:00
Makefile