summaryrefslogtreecommitdiff
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorPeter Oruba <peter.oruba@amd.com>2008-07-28 18:44:22 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-28 19:57:58 +0200
commit80cc9f1020f49c9e5b50898c102fd444de70a0a3 (patch)
tree6e8cfe33c4f09a129b168a7f831c6dcc81f6c4ea /arch/x86/Kconfig
parent8d86f390d9bb5b39f0a315838d1616de6363e1b9 (diff)
downloadlwn-80cc9f1020f49c9e5b50898c102fd444de70a0a3.tar.gz
lwn-80cc9f1020f49c9e5b50898c102fd444de70a0a3.zip
x86: AMD microcode patch loading support
This patch introduces microcode patch loading for AMD processors. It is based on previous corresponding work for Intel processors. It hooks into the general patch loading module. Main difference is that a container file format is used to hold all patch data for multiple processors as well as an equivalent CPU table, which comes seperately, as opposed to Intel's microcode patching solution. Kconfig and Makefile have been changed provice config and build option for new source file. Signed-off-by: Peter Oruba <peter.oruba@amd.com> Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig21
1 files changed, 17 insertions, 4 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 6b0b885cf47a..7bb461758d31 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -786,10 +786,12 @@ config MICROCODE
select FW_LOADER
---help---
If you say Y here, you will be able to update the microcode on
- Intel processors in the IA32 family, e.g. Pentium Pro, Pentium II,
- Pentium III, Pentium 4, Xeon etc. You will obviously need the
- actual microcode binary data itself which is not shipped with the
- Linux kernel.
+ certain Intel and AMD processors. The Intel support is for the
+ IA32 family, e.g. Pentium Pro, Pentium II, Pentium III,
+ Pentium 4, Xeon etc. The AMD support is for family 0x10 and
+ 0x11 processors, e.g. Opteron, Phenom and Turion 64 Ultra.
+ You will obviously need the actual microcode binary data itself
+ which is not shipped with the Linux kernel.
This option selects the general module only, you need to select
at least one vendor specific module as well.
@@ -813,6 +815,17 @@ config MICROCODE_INTEL
This driver is only available as a module: the module
will be called microcode_intel.
+config MICROCODE_AMD
+ tristate "AMD microcode patch loading support"
+ depends on MICROCODE
+ select FW_LOADER
+ --help---
+ If you select this option, microcode patch loading support for AMD
+ processors will be enabled.
+
+ This driver is only available as a module: the module
+ will be called microcode_amd.
+
config MICROCODE_OLD_INTERFACE
def_bool y
depends on MICROCODE