diff options
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 75 |
1 files changed, 21 insertions, 54 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index fc20fdc0f7f2..e5deee2dfcfe 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -150,7 +150,10 @@ config ARCH_HAS_CACHE_LINE_SIZE | |||
150 | config HAVE_SETUP_PER_CPU_AREA | 150 | config HAVE_SETUP_PER_CPU_AREA |
151 | def_bool y | 151 | def_bool y |
152 | 152 | ||
153 | config HAVE_DYNAMIC_PER_CPU_AREA | 153 | config NEED_PER_CPU_EMBED_FIRST_CHUNK |
154 | def_bool y | ||
155 | |||
156 | config NEED_PER_CPU_PAGE_FIRST_CHUNK | ||
154 | def_bool y | 157 | def_bool y |
155 | 158 | ||
156 | config HAVE_CPUMASK_OF_CPU_MAP | 159 | config HAVE_CPUMASK_OF_CPU_MAP |
@@ -179,6 +182,10 @@ config ARCH_SUPPORTS_OPTIMIZED_INLINING | |||
179 | config ARCH_SUPPORTS_DEBUG_PAGEALLOC | 182 | config ARCH_SUPPORTS_DEBUG_PAGEALLOC |
180 | def_bool y | 183 | def_bool y |
181 | 184 | ||
185 | config HAVE_INTEL_TXT | ||
186 | def_bool y | ||
187 | depends on EXPERIMENTAL && DMAR && ACPI | ||
188 | |||
182 | # Use the generic interrupt handling code in kernel/irq/: | 189 | # Use the generic interrupt handling code in kernel/irq/: |
183 | config GENERIC_HARDIRQS | 190 | config GENERIC_HARDIRQS |
184 | bool | 191 | bool |
@@ -776,41 +783,17 @@ config X86_REROUTE_FOR_BROKEN_BOOT_IRQS | |||
776 | increased on these systems. | 783 | increased on these systems. |
777 | 784 | ||
778 | config X86_MCE | 785 | config X86_MCE |
779 | bool "Machine Check Exception" | 786 | bool "Machine Check / overheating reporting" |
780 | ---help--- | 787 | ---help--- |
781 | Machine Check Exception support allows the processor to notify the | 788 | Machine Check support allows the processor to notify the |
782 | kernel if it detects a problem (e.g. overheating, component failure). | 789 | kernel if it detects a problem (e.g. overheating, data corruption). |
783 | 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, |
784 | ranging from a warning message on the console, to halting the machine. | 791 | ranging from warning messages to halting the machine. |
785 | Your processor must be a Pentium or newer to support this - check the | ||
786 | flags in /proc/cpuinfo for mce. Note that some older Pentium systems | ||
787 | have a design flaw which leads to false MCE events - hence MCE is | ||
788 | disabled on all P5 processors, unless explicitly enabled with "mce" | ||
789 | as a boot argument. Similarly, if MCE is built in and creates a | ||
790 | problem on some new non-standard machine, you can boot with "nomce" | ||
791 | to disable it. MCE support simply ignores non-MCE processors like | ||
792 | the 386 and 486, so nearly everyone can say Y here. | ||
793 | |||
794 | config X86_OLD_MCE | ||
795 | depends on X86_32 && X86_MCE | ||
796 | bool "Use legacy machine check code (will go away)" | ||
797 | default n | ||
798 | select X86_ANCIENT_MCE | ||
799 | ---help--- | ||
800 | Use the old i386 machine check code. This is merely intended for | ||
801 | testing in a transition period. Try this if you run into any machine | ||
802 | check related software problems, but report the problem to | ||
803 | linux-kernel. When in doubt say no. | ||
804 | |||
805 | config X86_NEW_MCE | ||
806 | depends on X86_MCE | ||
807 | bool | ||
808 | default y if (!X86_OLD_MCE && X86_32) || X86_64 | ||
809 | 792 | ||
810 | config X86_MCE_INTEL | 793 | config X86_MCE_INTEL |
811 | def_bool y | 794 | def_bool y |
812 | prompt "Intel MCE features" | 795 | prompt "Intel MCE features" |
813 | depends on X86_NEW_MCE && X86_LOCAL_APIC | 796 | depends on X86_MCE && X86_LOCAL_APIC |
814 | ---help--- | 797 | ---help--- |
815 | Additional support for intel specific MCE features such as | 798 | Additional support for intel specific MCE features such as |
816 | the thermal monitor. | 799 | the thermal monitor. |
@@ -818,14 +801,14 @@ config X86_MCE_INTEL | |||
818 | config X86_MCE_AMD | 801 | config X86_MCE_AMD |
819 | def_bool y | 802 | def_bool y |
820 | prompt "AMD MCE features" | 803 | prompt "AMD MCE features" |
821 | depends on X86_NEW_MCE && X86_LOCAL_APIC | 804 | depends on X86_MCE && X86_LOCAL_APIC |
822 | ---help--- | 805 | ---help--- |
823 | Additional support for AMD specific MCE features such as | 806 | Additional support for AMD specific MCE features such as |
824 | the DRAM Error Threshold. | 807 | the DRAM Error Threshold. |
825 | 808 | ||
826 | config X86_ANCIENT_MCE | 809 | config X86_ANCIENT_MCE |
827 | def_bool n | 810 | def_bool n |
828 | depends on X86_32 | 811 | depends on X86_32 && X86_MCE |
829 | prompt "Support for old Pentium 5 / WinChip machine checks" | 812 | prompt "Support for old Pentium 5 / WinChip machine checks" |
830 | ---help--- | 813 | ---help--- |
831 | 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 |
@@ -838,36 +821,16 @@ config X86_MCE_THRESHOLD | |||
838 | default y | 821 | default y |
839 | 822 | ||
840 | config X86_MCE_INJECT | 823 | config X86_MCE_INJECT |
841 | depends on X86_NEW_MCE | 824 | depends on X86_MCE |
842 | tristate "Machine check injector support" | 825 | tristate "Machine check injector support" |
843 | ---help--- | 826 | ---help--- |
844 | Provide support for injecting machine checks for testing purposes. | 827 | Provide support for injecting machine checks for testing purposes. |
845 | 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 |
846 | QA it is safe to say n. | 829 | QA it is safe to say n. |
847 | 830 | ||
848 | config X86_MCE_NONFATAL | ||
849 | tristate "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4" | ||
850 | depends on X86_OLD_MCE | ||
851 | ---help--- | ||
852 | Enabling this feature starts a timer that triggers every 5 seconds which | ||
853 | will look at the machine check registers to see if anything happened. | ||
854 | Non-fatal problems automatically get corrected (but still logged). | ||
855 | Disable this if you don't want to see these messages. | ||
856 | Seeing the messages this option prints out may be indicative of dying | ||
857 | or out-of-spec (ie, overclocked) hardware. | ||
858 | This option only does something on certain CPUs. | ||
859 | (AMD Athlon/Duron and Intel Pentium 4) | ||
860 | |||
861 | config X86_MCE_P4THERMAL | ||
862 | bool "check for P4 thermal throttling interrupt." | ||
863 | depends on X86_OLD_MCE && X86_MCE && (X86_UP_APIC || SMP) | ||
864 | ---help--- | ||
865 | Enabling this feature will cause a message to be printed when the P4 | ||
866 | enters thermal throttling. | ||
867 | |||
868 | config X86_THERMAL_VECTOR | 831 | config X86_THERMAL_VECTOR |
869 | def_bool y | 832 | def_bool y |
870 | depends on X86_MCE_P4THERMAL || X86_MCE_INTEL | 833 | depends on X86_MCE_INTEL |
871 | 834 | ||
872 | config VM86 | 835 | config VM86 |
873 | bool "Enable VM86 support" if EMBEDDED | 836 | bool "Enable VM86 support" if EMBEDDED |
@@ -1413,6 +1376,10 @@ config X86_PAT | |||
1413 | 1376 | ||
1414 | If unsure, say Y. | 1377 | If unsure, say Y. |
1415 | 1378 | ||
1379 | config ARCH_USES_PG_UNCACHED | ||
1380 | def_bool y | ||
1381 | depends on X86_PAT | ||
1382 | |||
1416 | config EFI | 1383 | config EFI |
1417 | bool "EFI runtime service support" | 1384 | bool "EFI runtime service support" |
1418 | depends on ACPI | 1385 | depends on ACPI |