diff options
author | Fenghua Yu <fenghua.yu@intel.com> | 2012-12-21 02:44:32 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-01-31 16:20:42 -0500 |
commit | da76f64e7eb28b718501d15c1b79af560b7ca4ea (patch) | |
tree | 2b0b36c7dda21352e1926ec0c9721bb20453c3c2 /arch/x86/Kconfig | |
parent | cd745be89e1580e8a1b47454a39f97f9c5c4b1e0 (diff) |
x86/Kconfig: Make early microcode loading a configuration feature
MICROCODE_INTEL_LIB, MICROCODE_INTEL_EARLY, and MICROCODE_EARLY are three new
configurations to enable or disable the feature.
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1356075872-3054-13-git-send-email-fenghua.yu@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 79795af59810..e243da7a2f96 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -1029,6 +1029,24 @@ config MICROCODE_OLD_INTERFACE | |||
1029 | def_bool y | 1029 | def_bool y |
1030 | depends on MICROCODE | 1030 | depends on MICROCODE |
1031 | 1031 | ||
1032 | config MICROCODE_INTEL_LIB | ||
1033 | def_bool y | ||
1034 | depends on MICROCODE_INTEL | ||
1035 | |||
1036 | config MICROCODE_INTEL_EARLY | ||
1037 | bool "Early load microcode" | ||
1038 | depends on MICROCODE_INTEL && BLK_DEV_INITRD | ||
1039 | default y | ||
1040 | help | ||
1041 | This option provides functionality to read additional microcode data | ||
1042 | at the beginning of initrd image. The data tells kernel to load | ||
1043 | microcode to CPU's as early as possible. No functional change if no | ||
1044 | microcode data is glued to the initrd, therefore it's safe to say Y. | ||
1045 | |||
1046 | config MICROCODE_EARLY | ||
1047 | def_bool y | ||
1048 | depends on MICROCODE_INTEL_EARLY | ||
1049 | |||
1032 | config X86_MSR | 1050 | config X86_MSR |
1033 | tristate "/dev/cpu/*/msr - Model-specific register support" | 1051 | tristate "/dev/cpu/*/msr - Model-specific register support" |
1034 | ---help--- | 1052 | ---help--- |