diff options
author | Borislav Petkov <bp@suse.de> | 2014-05-19 14:59:17 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2014-05-20 23:21:27 -0400 |
commit | 65cef1311d5d212fd3d48a43678536dc878ca288 (patch) | |
tree | 016bff3b97650be35dc3fac764116734a5d1d803 /arch/x86/include | |
parent | 1b1ded57a4f2f4420b4de7c395d1b841d8b3c41a (diff) |
x86, microcode: Add a disable chicken bit
Add a cmdline param which disables the microcode loader. This is useful
mostly in debugging situations where we want to turn off microcode
loading, both early from the initrd and late, as a means to be able to
rule out its influence on the machine.
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1400525957-11525-3-git-send-email-bp@alien8.de
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/microcode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/microcode.h b/arch/x86/include/asm/microcode.h index b59827e76529..64dc362506b7 100644 --- a/arch/x86/include/asm/microcode.h +++ b/arch/x86/include/asm/microcode.h | |||
@@ -25,6 +25,7 @@ struct cpu_signature { | |||
25 | struct device; | 25 | struct device; |
26 | 26 | ||
27 | enum ucode_state { UCODE_ERROR, UCODE_OK, UCODE_NFOUND }; | 27 | enum ucode_state { UCODE_ERROR, UCODE_OK, UCODE_NFOUND }; |
28 | extern bool dis_ucode_ldr; | ||
28 | 29 | ||
29 | struct microcode_ops { | 30 | struct microcode_ops { |
30 | enum ucode_state (*request_microcode_user) (int cpu, | 31 | enum ucode_state (*request_microcode_user) (int cpu, |