diff options
author | Jacob Shin <jacob.shin@amd.com> | 2013-05-30 15:09:19 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-05-30 23:19:25 -0400 |
commit | 757885e94a22bcc82beb9b1445c95218cb20ceab (patch) | |
tree | 1cda49972f875326d47d1e140e190b7a1e9095d3 /arch/x86/Kconfig | |
parent | a76096a6571d5389376753c2e18b30a9791fa072 (diff) |
x86, microcode, amd: Early microcode patch loading support for AMD
Add early microcode patch loading support for AMD.
Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Link: http://lkml.kernel.org/r/1369940959-2077-5-git-send-email-jacob.shin@amd.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 685692c94f05..28dba52af514 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -1058,8 +1058,16 @@ config MICROCODE_INTEL_LIB | |||
1058 | depends on MICROCODE_INTEL | 1058 | depends on MICROCODE_INTEL |
1059 | 1059 | ||
1060 | config MICROCODE_INTEL_EARLY | 1060 | config MICROCODE_INTEL_EARLY |
1061 | def_bool n | ||
1062 | |||
1063 | config MICROCODE_AMD_EARLY | ||
1064 | def_bool n | ||
1065 | |||
1066 | config MICROCODE_EARLY | ||
1061 | bool "Early load microcode" | 1067 | bool "Early load microcode" |
1062 | depends on MICROCODE_INTEL && BLK_DEV_INITRD | 1068 | depends on (MICROCODE_INTEL || MICROCODE_AMD) && BLK_DEV_INITRD |
1069 | select MICROCODE_INTEL_EARLY if MICROCODE_INTEL | ||
1070 | select MICROCODE_AMD_EARLY if MICROCODE_AMD | ||
1063 | default y | 1071 | default y |
1064 | help | 1072 | help |
1065 | This option provides functionality to read additional microcode data | 1073 | This option provides functionality to read additional microcode data |
@@ -1067,10 +1075,6 @@ config MICROCODE_INTEL_EARLY | |||
1067 | microcode to CPU's as early as possible. No functional change if no | 1075 | microcode to CPU's as early as possible. No functional change if no |
1068 | microcode data is glued to the initrd, therefore it's safe to say Y. | 1076 | microcode data is glued to the initrd, therefore it's safe to say Y. |
1069 | 1077 | ||
1070 | config MICROCODE_EARLY | ||
1071 | def_bool y | ||
1072 | depends on MICROCODE_INTEL_EARLY | ||
1073 | |||
1074 | config X86_MSR | 1078 | config X86_MSR |
1075 | tristate "/dev/cpu/*/msr - Model-specific register support" | 1079 | tristate "/dev/cpu/*/msr - Model-specific register support" |
1076 | ---help--- | 1080 | ---help--- |