]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
x86/Kconfig: Make early microcode loading a configuration feature
authorFenghua Yu <fenghua.yu@intel.com>
Fri, 21 Dec 2012 07:44:32 +0000 (23:44 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 31 Jan 2013 21:20:42 +0000 (13:20 -0800)
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>
arch/x86/Kconfig

index 79795af598105e9998f0de234b279fb6c61ca42f..e243da7a2f960d1ff3e45e7bbaeb67c189c902b1 100644 (file)
@@ -1029,6 +1029,24 @@ config MICROCODE_OLD_INTERFACE
        def_bool y
        depends on MICROCODE
 
+config MICROCODE_INTEL_LIB
+       def_bool y
+       depends on MICROCODE_INTEL
+
+config MICROCODE_INTEL_EARLY
+       bool "Early load microcode"
+       depends on MICROCODE_INTEL && BLK_DEV_INITRD
+       default y
+       help
+         This option provides functionality to read additional microcode data
+         at the beginning of initrd image. The data tells kernel to load
+         microcode to CPU's as early as possible. No functional change if no
+         microcode data is glued to the initrd, therefore it's safe to say Y.
+
+config MICROCODE_EARLY
+       def_bool y
+       depends on MICROCODE_INTEL_EARLY
+
 config X86_MSR
        tristate "/dev/cpu/*/msr - Model-specific register support"
        ---help---