diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-18 00:07:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-18 00:07:08 -0400 |
commit | df58bee21ed218cb7dfb561a590b1bd2a99531cf (patch) | |
tree | 885acc2720996707dacb1da5700051a8ed99c655 /arch/x86/Kconfig | |
parent | dcbf77b9e86e1726f5fbd01bb98820dac06d456e (diff) | |
parent | e34e77ce348feac3c8c607774efb1f8a9262127d (diff) |
Merge branch 'x86-mce-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-mce-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (21 commits)
x86, mce: Fix compilation with !CONFIG_DEBUG_FS in mce-severity.c
x86, mce: CE in last bank prevents panic by unknown MCE
x86, mce: Fake panic support for MCE testing
x86, mce: Move debugfs mce dir creating to mce.c
x86, mce: Support specifying raise mode for software MCE injection
x86, mce: Support specifying context for software mce injection
x86, mce: fix reporting of Thermal Monitoring mechanism enabled
x86, mce: remove never executed code
x86, mce: add missing __cpuinit tags
x86, mce: fix "mce" boot option handling for CONFIG_X86_NEW_MCE
x86, mce: don't log boot MCEs on Pentium M (model == 13) CPUs
x86: mce: Lower maximum number of banks to architecture limit
x86: mce: macros to compute banks MSRs
x86: mce: Move per bank data in a single datastructure
x86: mce: Move code in mce.c
x86: mce: Rename CONFIG_X86_NEW_MCE to CONFIG_X86_MCE
x86: mce: Remove old i386 machine check code
x86: mce: Update X86_MCE description in x86/Kconfig
x86: mce: Make CONFIG_X86_ANCIENT_MCE dependent on CONFIG_X86_MCE
x86, mce: use atomic_inc_return() instead of add by 1
...
Manually fixed up trivial conflicts:
Documentation/feature-removal-schedule.txt
arch/x86/kernel/cpu/mcheck/mce.c
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 62 |
1 files changed, 9 insertions, 53 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index e98e81a04971..e5deee2dfcfe 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -783,41 +783,17 @@ config X86_REROUTE_FOR_BROKEN_BOOT_IRQS | |||
783 | increased on these systems. | 783 | increased on these systems. |
784 | 784 | ||
785 | config X86_MCE | 785 | config X86_MCE |
786 | bool "Machine Check Exception" | 786 | bool "Machine Check / overheating reporting" |
787 | ---help--- | 787 | ---help--- |
788 | Machine Check Exception support allows the processor to notify the | 788 | Machine Check support allows the processor to notify the |
789 | kernel if it detects a problem (e.g. overheating, component failure). | 789 | kernel if it detects a problem (e.g. overheating, data corruption). |
790 | The action the kernel takes depends on the severity of the problem, | 790 | The action the kernel takes depends on the severity of the problem, |
791 | ranging from a warning message on the console, to halting the machine. | 791 | ranging from warning messages to halting the machine. |
792 | Your processor must be a Pentium or newer to support this - check the | ||
793 | flags in /proc/cpuinfo for mce. Note that some older Pentium systems | ||
794 | have a design flaw which leads to false MCE events - hence MCE is | ||
795 | disabled on all P5 processors, unless explicitly enabled with "mce" | ||
796 | as a boot argument. Similarly, if MCE is built in and creates a | ||
797 | problem on some new non-standard machine, you can boot with "nomce" | ||
798 | to disable it. MCE support simply ignores non-MCE processors like | ||
799 | the 386 and 486, so nearly everyone can say Y here. | ||
800 | |||
801 | config X86_OLD_MCE | ||
802 | depends on X86_32 && X86_MCE | ||
803 | bool "Use legacy machine check code (will go away)" | ||
804 | default n | ||
805 | select X86_ANCIENT_MCE | ||
806 | ---help--- | ||
807 | Use the old i386 machine check code. This is merely intended for | ||
808 | testing in a transition period. Try this if you run into any machine | ||
809 | check related software problems, but report the problem to | ||
810 | linux-kernel. When in doubt say no. | ||
811 | |||
812 | config X86_NEW_MCE | ||
813 | depends on X86_MCE | ||
814 | bool | ||
815 | default y if (!X86_OLD_MCE && X86_32) || X86_64 | ||
816 | 792 | ||
817 | config X86_MCE_INTEL | 793 | config X86_MCE_INTEL |
818 | def_bool y | 794 | def_bool y |
819 | prompt "Intel MCE features" | 795 | prompt "Intel MCE features" |
820 | depends on X86_NEW_MCE && X86_LOCAL_APIC | 796 | depends on X86_MCE && X86_LOCAL_APIC |
821 | ---help--- | 797 | ---help--- |
822 | Additional support for intel specific MCE features such as | 798 | Additional support for intel specific MCE features such as |
823 | the thermal monitor. | 799 | the thermal monitor. |
@@ -825,14 +801,14 @@ config X86_MCE_INTEL | |||
825 | config X86_MCE_AMD | 801 | config X86_MCE_AMD |
826 | def_bool y | 802 | def_bool y |
827 | prompt "AMD MCE features" | 803 | prompt "AMD MCE features" |
828 | depends on X86_NEW_MCE && X86_LOCAL_APIC | 804 | depends on X86_MCE && X86_LOCAL_APIC |
829 | ---help--- | 805 | ---help--- |
830 | Additional support for AMD specific MCE features such as | 806 | Additional support for AMD specific MCE features such as |
831 | the DRAM Error Threshold. | 807 | the DRAM Error Threshold. |
832 | 808 | ||
833 | config X86_ANCIENT_MCE | 809 | config X86_ANCIENT_MCE |
834 | def_bool n | 810 | def_bool n |
835 | depends on X86_32 | 811 | depends on X86_32 && X86_MCE |
836 | prompt "Support for old Pentium 5 / WinChip machine checks" | 812 | prompt "Support for old Pentium 5 / WinChip machine checks" |
837 | ---help--- | 813 | ---help--- |
838 | Include support for machine check handling on old Pentium 5 or WinChip | 814 | Include support for machine check handling on old Pentium 5 or WinChip |
@@ -845,36 +821,16 @@ config X86_MCE_THRESHOLD | |||
845 | default y | 821 | default y |
846 | 822 | ||
847 | config X86_MCE_INJECT | 823 | config X86_MCE_INJECT |
848 | depends on X86_NEW_MCE | 824 | depends on X86_MCE |
849 | tristate "Machine check injector support" | 825 | tristate "Machine check injector support" |
850 | ---help--- | 826 | ---help--- |
851 | Provide support for injecting machine checks for testing purposes. | 827 | Provide support for injecting machine checks for testing purposes. |
852 | If you don't know what a machine check is and you don't do kernel | 828 | If you don't know what a machine check is and you don't do kernel |
853 | QA it is safe to say n. | 829 | QA it is safe to say n. |
854 | 830 | ||
855 | config X86_MCE_NONFATAL | ||
856 | tristate "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4" | ||
857 | depends on X86_OLD_MCE | ||
858 | ---help--- | ||
859 | Enabling this feature starts a timer that triggers every 5 seconds which | ||
860 | will look at the machine check registers to see if anything happened. | ||
861 | Non-fatal problems automatically get corrected (but still logged). | ||
862 | Disable this if you don't want to see these messages. | ||
863 | Seeing the messages this option prints out may be indicative of dying | ||
864 | or out-of-spec (ie, overclocked) hardware. | ||
865 | This option only does something on certain CPUs. | ||
866 | (AMD Athlon/Duron and Intel Pentium 4) | ||
867 | |||
868 | config X86_MCE_P4THERMAL | ||
869 | bool "check for P4 thermal throttling interrupt." | ||
870 | depends on X86_OLD_MCE && X86_MCE && (X86_UP_APIC || SMP) | ||
871 | ---help--- | ||
872 | Enabling this feature will cause a message to be printed when the P4 | ||
873 | enters thermal throttling. | ||
874 | |||
875 | config X86_THERMAL_VECTOR | 831 | config X86_THERMAL_VECTOR |
876 | def_bool y | 832 | def_bool y |
877 | depends on X86_MCE_P4THERMAL || X86_MCE_INTEL | 833 | depends on X86_MCE_INTEL |
878 | 834 | ||
879 | config VM86 | 835 | config VM86 |
880 | bool "Enable VM86 support" if EMBEDDED | 836 | bool "Enable VM86 support" if EMBEDDED |