diff options
author | Peter Oruba <peter.oruba@amd.com> | 2008-07-28 12:44:21 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-28 13:57:57 -0400 |
commit | 8d86f390d9bb5b39f0a315838d1616de6363e1b9 (patch) | |
tree | f3857d76d029b87571ac5cb4e3c1bd9965c859f8 /arch/x86/Kconfig | |
parent | 26bf7a48c33906cc3415a4492aa9ead7a75f1353 (diff) |
x86: major refactoring
Refactored code by introducing a two-module solution.
There is one general module in which vendor specific modules can hook into.
However, that is exclusive, there is only one vendor specific module
allowed at a time. A CPU vendor check makes sure only the correct
module for the underlying system gets called.
Functinally in terms of patch loading itself there are no changes. This
refactoring provides a basis for future implementations of other vendors'
patch loaders.
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 | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index b6fa2877b173..6b0b885cf47a 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -782,7 +782,7 @@ config X86_REBOOTFIXUPS | |||
782 | Say N otherwise. | 782 | Say N otherwise. |
783 | 783 | ||
784 | config MICROCODE | 784 | config MICROCODE |
785 | tristate "/dev/cpu/microcode - Intel IA32 CPU microcode support" | 785 | tristate "/dev/cpu/microcode - microcode support" |
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 |
@@ -791,14 +791,29 @@ config MICROCODE | |||
791 | actual microcode binary data itself which is not shipped with the | 791 | actual microcode binary data itself which is not shipped with the |
792 | Linux kernel. | 792 | Linux kernel. |
793 | 793 | ||
794 | For latest news and information on obtaining all the required | 794 | This option selects the general module only, you need to select |
795 | ingredients for this driver, check: | 795 | at least one vendor specific module as well. |
796 | <http://www.urbanmyth.org/microcode/>. | ||
797 | 796 | ||
798 | To compile this driver as a module, choose M here: the | 797 | To compile this driver as a module, choose M here: the |
799 | module will be called microcode. | 798 | module will be called microcode. |
800 | 799 | ||
801 | config MICROCODE_OLD_INTERFACE | 800 | config MICROCODE_INTEL |
801 | tristate "Intel microcode patch loading support" | ||
802 | depends on MICROCODE | ||
803 | default MICROCODE | ||
804 | select FW_LOADER | ||
805 | --help--- | ||
806 | This options enables microcode patch loading support for Intel | ||
807 | processors. | ||
808 | |||
809 | For latest news and information on obtaining all the required | ||
810 | Intel ingredients for this driver, check: | ||
811 | <http://www.urbanmyth.org/microcode/>. | ||
812 | |||
813 | This driver is only available as a module: the module | ||
814 | will be called microcode_intel. | ||
815 | |||
816 | config MICROCODE_OLD_INTERFACE | ||
802 | def_bool y | 817 | def_bool y |
803 | depends on MICROCODE | 818 | depends on MICROCODE |
804 | 819 | ||