diff options
author | Peter Oruba <peter.oruba@amd.com> | 2008-07-28 12:44:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-28 13:57:58 -0400 |
commit | 80cc9f1020f49c9e5b50898c102fd444de70a0a3 (patch) | |
tree | 6e8cfe33c4f09a129b168a7f831c6dcc81f6c4ea /arch/x86/Kconfig | |
parent | 8d86f390d9bb5b39f0a315838d1616de6363e1b9 (diff) |
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/Kconfig | 21 |
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 | |||
786 | select FW_LOADER | 786 | select FW_LOADER |
787 | ---help--- | 787 | ---help--- |
788 | If you say Y here, you will be able to update the microcode on | 788 | If you say Y here, you will be able to update the microcode on |
789 | Intel processors in the IA32 family, e.g. Pentium Pro, Pentium II, | 789 | certain Intel and AMD processors. The Intel support is for the |
790 | Pentium III, Pentium 4, Xeon etc. You will obviously need the | 790 | IA32 family, e.g. Pentium Pro, Pentium II, Pentium III, |
791 | actual microcode binary data itself which is not shipped with the | 791 | Pentium 4, Xeon etc. The AMD support is for family 0x10 and |
792 | Linux kernel. | 792 | 0x11 processors, e.g. Opteron, Phenom and Turion 64 Ultra. |
793 | You will obviously need the actual microcode binary data itself | ||
794 | which is not shipped with the Linux kernel. | ||
793 | 795 | ||
794 | This option selects the general module only, you need to select | 796 | This option selects the general module only, you need to select |
795 | at least one vendor specific module as well. | 797 | at least one vendor specific module as well. |
@@ -813,6 +815,17 @@ config MICROCODE_INTEL | |||
813 | This driver is only available as a module: the module | 815 | This driver is only available as a module: the module |
814 | will be called microcode_intel. | 816 | will be called microcode_intel. |
815 | 817 | ||
818 | config MICROCODE_AMD | ||
819 | tristate "AMD microcode patch loading support" | ||
820 | depends on MICROCODE | ||
821 | select FW_LOADER | ||
822 | --help--- | ||
823 | If you select this option, microcode patch loading support for AMD | ||
824 | processors will be enabled. | ||
825 | |||
826 | This driver is only available as a module: the module | ||
827 | will be called microcode_amd. | ||
828 | |||
816 | config MICROCODE_OLD_INTERFACE | 829 | config MICROCODE_OLD_INTERFACE |
817 | def_bool y | 830 | def_bool y |
818 | depends on MICROCODE | 831 | depends on MICROCODE |