diff options
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 45 |
1 files changed, 41 insertions, 4 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index b1d3f60525c0..afd1168eeefb 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -783,10 +783,26 @@ config X86_MCE | |||
783 | to disable it. MCE support simply ignores non-MCE processors like | 783 | to disable it. MCE support simply ignores non-MCE processors like |
784 | the 386 and 486, so nearly everyone can say Y here. | 784 | the 386 and 486, so nearly everyone can say Y here. |
785 | 785 | ||
786 | config X86_OLD_MCE | ||
787 | depends on X86_32 && X86_MCE | ||
788 | bool "Use legacy machine check code (will go away)" | ||
789 | default n | ||
790 | select X86_ANCIENT_MCE | ||
791 | ---help--- | ||
792 | Use the old i386 machine check code. This is merely intended for | ||
793 | testing in a transition period. Try this if you run into any machine | ||
794 | check related software problems, but report the problem to | ||
795 | linux-kernel. When in doubt say no. | ||
796 | |||
797 | config X86_NEW_MCE | ||
798 | depends on X86_MCE | ||
799 | bool | ||
800 | default y if (!X86_OLD_MCE && X86_32) || X86_64 | ||
801 | |||
786 | config X86_MCE_INTEL | 802 | config X86_MCE_INTEL |
787 | def_bool y | 803 | def_bool y |
788 | prompt "Intel MCE features" | 804 | prompt "Intel MCE features" |
789 | depends on X86_64 && X86_MCE && X86_LOCAL_APIC | 805 | depends on X86_NEW_MCE && X86_LOCAL_APIC |
790 | ---help--- | 806 | ---help--- |
791 | Additional support for intel specific MCE features such as | 807 | Additional support for intel specific MCE features such as |
792 | the thermal monitor. | 808 | the thermal monitor. |
@@ -794,19 +810,36 @@ config X86_MCE_INTEL | |||
794 | config X86_MCE_AMD | 810 | config X86_MCE_AMD |
795 | def_bool y | 811 | def_bool y |
796 | prompt "AMD MCE features" | 812 | prompt "AMD MCE features" |
797 | depends on X86_64 && X86_MCE && X86_LOCAL_APIC | 813 | depends on X86_NEW_MCE && X86_LOCAL_APIC |
798 | ---help--- | 814 | ---help--- |
799 | Additional support for AMD specific MCE features such as | 815 | Additional support for AMD specific MCE features such as |
800 | the DRAM Error Threshold. | 816 | the DRAM Error Threshold. |
801 | 817 | ||
818 | config X86_ANCIENT_MCE | ||
819 | def_bool n | ||
820 | depends on X86_32 | ||
821 | prompt "Support for old Pentium 5 / WinChip machine checks" | ||
822 | ---help--- | ||
823 | Include support for machine check handling on old Pentium 5 or WinChip | ||
824 | systems. These typically need to be enabled explicitely on the command | ||
825 | line. | ||
826 | |||
802 | config X86_MCE_THRESHOLD | 827 | config X86_MCE_THRESHOLD |
803 | depends on X86_MCE_AMD || X86_MCE_INTEL | 828 | depends on X86_MCE_AMD || X86_MCE_INTEL |
804 | bool | 829 | bool |
805 | default y | 830 | default y |
806 | 831 | ||
832 | config X86_MCE_INJECT | ||
833 | depends on X86_NEW_MCE | ||
834 | tristate "Machine check injector support" | ||
835 | ---help--- | ||
836 | Provide support for injecting machine checks for testing purposes. | ||
837 | If you don't know what a machine check is and you don't do kernel | ||
838 | QA it is safe to say n. | ||
839 | |||
807 | config X86_MCE_NONFATAL | 840 | config X86_MCE_NONFATAL |
808 | tristate "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4" | 841 | tristate "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4" |
809 | depends on X86_32 && X86_MCE | 842 | depends on X86_OLD_MCE |
810 | ---help--- | 843 | ---help--- |
811 | Enabling this feature starts a timer that triggers every 5 seconds which | 844 | Enabling this feature starts a timer that triggers every 5 seconds which |
812 | will look at the machine check registers to see if anything happened. | 845 | will look at the machine check registers to see if anything happened. |
@@ -819,11 +852,15 @@ config X86_MCE_NONFATAL | |||
819 | 852 | ||
820 | config X86_MCE_P4THERMAL | 853 | config X86_MCE_P4THERMAL |
821 | bool "check for P4 thermal throttling interrupt." | 854 | bool "check for P4 thermal throttling interrupt." |
822 | depends on X86_32 && X86_MCE && (X86_UP_APIC || SMP) | 855 | depends on X86_OLD_MCE && X86_MCE && (X86_UP_APIC || SMP) |
823 | ---help--- | 856 | ---help--- |
824 | Enabling this feature will cause a message to be printed when the P4 | 857 | Enabling this feature will cause a message to be printed when the P4 |
825 | enters thermal throttling. | 858 | enters thermal throttling. |
826 | 859 | ||
860 | config X86_THERMAL_VECTOR | ||
861 | def_bool y | ||
862 | depends on X86_MCE_P4THERMAL || X86_MCE_INTEL | ||
863 | |||
827 | config VM86 | 864 | config VM86 |
828 | bool "Enable VM86 support" if EMBEDDED | 865 | bool "Enable VM86 support" if EMBEDDED |
829 | default y | 866 | default y |