aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/microcode/intel_lib.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2015-03-18 19:28:56 +0100
committerIngo Molnar <mingo@kernel.org>2015-05-06 11:24:53 +0200
commit760d765b2bb662be177d4b5b271ced8debc803ac (patch)
treeae71bf65b3e8b389062a4988da7c8e821fa19a34 /arch/x86/kernel/cpu/microcode/intel_lib.c
parentda9b50765e6ea3e9113df3a14a63700e47a670b7 (diff)
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>
Diffstat (limited to 'arch/x86/kernel/cpu/microcode/intel_lib.c')
0 files changed, 0 insertions, 0 deletions