aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-10-17 19:09:09 -0400
committerFrederic Weisbecker <fweisbec@gmail.com>2009-10-17 19:12:33 -0400
commit0f8f86c7bdd1c954fbe153af437a0d91a6c5721a (patch)
tree94a8d419a470a4f9852ca397bb9bbe48db92ff5c /arch/x86/Kconfig
parentdca2d6ac09d9ef59ff46820d4f0c94b08a671202 (diff)
parentf39cdf25bf77219676ec5360980ac40b1a7e144a (diff)
Merge commit 'perf/core' into perf/hw-breakpoint
Conflicts: kernel/Makefile kernel/trace/Makefile kernel/trace/trace.h samples/Makefile Merge reason: We need to be uptodate with the perf events development branch because we plan to rewrite the breakpoints API on top of perf events.
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig126
1 files changed, 64 insertions, 62 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index c71a8f8bdba8..1b7c74350a04 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -24,7 +24,7 @@ config X86
24 select HAVE_UNSTABLE_SCHED_CLOCK 24 select HAVE_UNSTABLE_SCHED_CLOCK
25 select HAVE_IDE 25 select HAVE_IDE
26 select HAVE_OPROFILE 26 select HAVE_OPROFILE
27 select HAVE_PERF_COUNTERS if (!M386 && !M486) 27 select HAVE_PERF_EVENTS if (!M386 && !M486)
28 select HAVE_IOREMAP_PROT 28 select HAVE_IOREMAP_PROT
29 select HAVE_KPROBES 29 select HAVE_KPROBES
30 select ARCH_WANT_OPTIONAL_GPIOLIB 30 select ARCH_WANT_OPTIONAL_GPIOLIB
@@ -87,10 +87,6 @@ config STACKTRACE_SUPPORT
87config HAVE_LATENCYTOP_SUPPORT 87config HAVE_LATENCYTOP_SUPPORT
88 def_bool y 88 def_bool y
89 89
90config FAST_CMPXCHG_LOCAL
91 bool
92 default y
93
94config MMU 90config MMU
95 def_bool y 91 def_bool y
96 92
@@ -151,7 +147,10 @@ config ARCH_HAS_CACHE_LINE_SIZE
151config HAVE_SETUP_PER_CPU_AREA 147config HAVE_SETUP_PER_CPU_AREA
152 def_bool y 148 def_bool y
153 149
154config HAVE_DYNAMIC_PER_CPU_AREA 150config NEED_PER_CPU_EMBED_FIRST_CHUNK
151 def_bool y
152
153config NEED_PER_CPU_PAGE_FIRST_CHUNK
155 def_bool y 154 def_bool y
156 155
157config HAVE_CPUMASK_OF_CPU_MAP 156config HAVE_CPUMASK_OF_CPU_MAP
@@ -180,6 +179,10 @@ config ARCH_SUPPORTS_OPTIMIZED_INLINING
180config ARCH_SUPPORTS_DEBUG_PAGEALLOC 179config ARCH_SUPPORTS_DEBUG_PAGEALLOC
181 def_bool y 180 def_bool y
182 181
182config HAVE_INTEL_TXT
183 def_bool y
184 depends on EXPERIMENTAL && DMAR && ACPI
185
183# Use the generic interrupt handling code in kernel/irq/: 186# Use the generic interrupt handling code in kernel/irq/:
184config GENERIC_HARDIRQS 187config GENERIC_HARDIRQS
185 bool 188 bool
@@ -319,6 +322,7 @@ config X86_EXTENDED_PLATFORM
319 SGI 320/540 (Visual Workstation) 322 SGI 320/540 (Visual Workstation)
320 Summit/EXA (IBM x440) 323 Summit/EXA (IBM x440)
321 Unisys ES7000 IA32 series 324 Unisys ES7000 IA32 series
325 Moorestown MID devices
322 326
323 If you have one of these systems, or if you want to build a 327 If you have one of these systems, or if you want to build a
324 generic distribution kernel, say Y here - otherwise say N. 328 generic distribution kernel, say Y here - otherwise say N.
@@ -378,6 +382,18 @@ config X86_ELAN
378 382
379 If unsure, choose "PC-compatible" instead. 383 If unsure, choose "PC-compatible" instead.
380 384
385config X86_MRST
386 bool "Moorestown MID platform"
387 depends on X86_32
388 depends on X86_EXTENDED_PLATFORM
389 ---help---
390 Moorestown is Intel's Low Power Intel Architecture (LPIA) based Moblin
391 Internet Device(MID) platform. Moorestown consists of two chips:
392 Lincroft (CPU core, graphics, and memory controller) and Langwell IOH.
393 Unlike standard x86 PCs, Moorestown does not have many legacy devices
394 nor standard legacy replacement devices/features. e.g. Moorestown does
395 not contain i8259, i8254, HPET, legacy BIOS, most of the io ports.
396
381config X86_RDC321X 397config X86_RDC321X
382 bool "RDC R-321x SoC" 398 bool "RDC R-321x SoC"
383 depends on X86_32 399 depends on X86_32
@@ -413,6 +429,17 @@ config X86_NUMAQ
413 of Flat Logical. You will need a new lynxer.elf file to flash your 429 of Flat Logical. You will need a new lynxer.elf file to flash your
414 firmware with - send email to <Martin.Bligh@us.ibm.com>. 430 firmware with - send email to <Martin.Bligh@us.ibm.com>.
415 431
432config X86_SUPPORTS_MEMORY_FAILURE
433 bool
434 # MCE code calls memory_failure():
435 depends on X86_MCE
436 # On 32-bit this adds too big of NODES_SHIFT and we run out of page flags:
437 depends on !X86_NUMAQ
438 # On 32-bit SPARSEMEM adds too big of SECTIONS_WIDTH:
439 depends on X86_64 || !SPARSEMEM
440 select ARCH_SUPPORTS_MEMORY_FAILURE
441 default y
442
416config X86_VISWS 443config X86_VISWS
417 bool "SGI 320/540 (Visual Workstation)" 444 bool "SGI 320/540 (Visual Workstation)"
418 depends on X86_32 && PCI && X86_MPPARSE && PCI_GODIRECT 445 depends on X86_32 && PCI && X86_MPPARSE && PCI_GODIRECT
@@ -465,7 +492,7 @@ if PARAVIRT_GUEST
465source "arch/x86/xen/Kconfig" 492source "arch/x86/xen/Kconfig"
466 493
467config VMI 494config VMI
468 bool "VMI Guest support" 495 bool "VMI Guest support (DEPRECATED)"
469 select PARAVIRT 496 select PARAVIRT
470 depends on X86_32 497 depends on X86_32
471 ---help--- 498 ---help---
@@ -474,6 +501,15 @@ config VMI
474 at the moment), by linking the kernel to a GPL-ed ROM module 501 at the moment), by linking the kernel to a GPL-ed ROM module
475 provided by the hypervisor. 502 provided by the hypervisor.
476 503
504 As of September 2009, VMware has started a phased retirement
505 of this feature from VMware's products. Please see
506 feature-removal-schedule.txt for details. If you are
507 planning to enable this option, please note that you cannot
508 live migrate a VMI enabled VM to a future VMware product,
509 which doesn't support VMI. So if you expect your kernel to
510 seamlessly migrate to newer VMware products, keep this
511 disabled.
512
477config KVM_CLOCK 513config KVM_CLOCK
478 bool "KVM paravirtualized clock" 514 bool "KVM paravirtualized clock"
479 select PARAVIRT 515 select PARAVIRT
@@ -777,41 +813,17 @@ config X86_REROUTE_FOR_BROKEN_BOOT_IRQS
777 increased on these systems. 813 increased on these systems.
778 814
779config X86_MCE 815config X86_MCE
780 bool "Machine Check Exception" 816 bool "Machine Check / overheating reporting"
781 ---help--- 817 ---help---
782 Machine Check Exception support allows the processor to notify the 818 Machine Check support allows the processor to notify the
783 kernel if it detects a problem (e.g. overheating, component failure). 819 kernel if it detects a problem (e.g. overheating, data corruption).
784 The action the kernel takes depends on the severity of the problem, 820 The action the kernel takes depends on the severity of the problem,
785 ranging from a warning message on the console, to halting the machine. 821 ranging from warning messages to halting the machine.
786 Your processor must be a Pentium or newer to support this - check the
787 flags in /proc/cpuinfo for mce. Note that some older Pentium systems
788 have a design flaw which leads to false MCE events - hence MCE is
789 disabled on all P5 processors, unless explicitly enabled with "mce"
790 as a boot argument. Similarly, if MCE is built in and creates a
791 problem on some new non-standard machine, you can boot with "nomce"
792 to disable it. MCE support simply ignores non-MCE processors like
793 the 386 and 486, so nearly everyone can say Y here.
794
795config X86_OLD_MCE
796 depends on X86_32 && X86_MCE
797 bool "Use legacy machine check code (will go away)"
798 default n
799 select X86_ANCIENT_MCE
800 ---help---
801 Use the old i386 machine check code. This is merely intended for
802 testing in a transition period. Try this if you run into any machine
803 check related software problems, but report the problem to
804 linux-kernel. When in doubt say no.
805
806config X86_NEW_MCE
807 depends on X86_MCE
808 bool
809 default y if (!X86_OLD_MCE && X86_32) || X86_64
810 822
811config X86_MCE_INTEL 823config X86_MCE_INTEL
812 def_bool y 824 def_bool y
813 prompt "Intel MCE features" 825 prompt "Intel MCE features"
814 depends on X86_NEW_MCE && X86_LOCAL_APIC 826 depends on X86_MCE && X86_LOCAL_APIC
815 ---help--- 827 ---help---
816 Additional support for intel specific MCE features such as 828 Additional support for intel specific MCE features such as
817 the thermal monitor. 829 the thermal monitor.
@@ -819,14 +831,14 @@ config X86_MCE_INTEL
819config X86_MCE_AMD 831config X86_MCE_AMD
820 def_bool y 832 def_bool y
821 prompt "AMD MCE features" 833 prompt "AMD MCE features"
822 depends on X86_NEW_MCE && X86_LOCAL_APIC 834 depends on X86_MCE && X86_LOCAL_APIC
823 ---help--- 835 ---help---
824 Additional support for AMD specific MCE features such as 836 Additional support for AMD specific MCE features such as
825 the DRAM Error Threshold. 837 the DRAM Error Threshold.
826 838
827config X86_ANCIENT_MCE 839config X86_ANCIENT_MCE
828 def_bool n 840 def_bool n
829 depends on X86_32 841 depends on X86_32 && X86_MCE
830 prompt "Support for old Pentium 5 / WinChip machine checks" 842 prompt "Support for old Pentium 5 / WinChip machine checks"
831 ---help--- 843 ---help---
832 Include support for machine check handling on old Pentium 5 or WinChip 844 Include support for machine check handling on old Pentium 5 or WinChip
@@ -839,36 +851,16 @@ config X86_MCE_THRESHOLD
839 default y 851 default y
840 852
841config X86_MCE_INJECT 853config X86_MCE_INJECT
842 depends on X86_NEW_MCE 854 depends on X86_MCE
843 tristate "Machine check injector support" 855 tristate "Machine check injector support"
844 ---help--- 856 ---help---
845 Provide support for injecting machine checks for testing purposes. 857 Provide support for injecting machine checks for testing purposes.
846 If you don't know what a machine check is and you don't do kernel 858 If you don't know what a machine check is and you don't do kernel
847 QA it is safe to say n. 859 QA it is safe to say n.
848 860
849config X86_MCE_NONFATAL
850 tristate "Check for non-fatal errors on AMD Athlon/Duron / Intel Pentium 4"
851 depends on X86_OLD_MCE
852 ---help---
853 Enabling this feature starts a timer that triggers every 5 seconds which
854 will look at the machine check registers to see if anything happened.
855 Non-fatal problems automatically get corrected (but still logged).
856 Disable this if you don't want to see these messages.
857 Seeing the messages this option prints out may be indicative of dying
858 or out-of-spec (ie, overclocked) hardware.
859 This option only does something on certain CPUs.
860 (AMD Athlon/Duron and Intel Pentium 4)
861
862config X86_MCE_P4THERMAL
863 bool "check for P4 thermal throttling interrupt."
864 depends on X86_OLD_MCE && X86_MCE && (X86_UP_APIC || SMP)
865 ---help---
866 Enabling this feature will cause a message to be printed when the P4
867 enters thermal throttling.
868
869config X86_THERMAL_VECTOR 861config X86_THERMAL_VECTOR
870 def_bool y 862 def_bool y
871 depends on X86_MCE_P4THERMAL || X86_MCE_INTEL 863 depends on X86_MCE_INTEL
872 864
873config VM86 865config VM86
874 bool "Enable VM86 support" if EMBEDDED 866 bool "Enable VM86 support" if EMBEDDED
@@ -1229,6 +1221,10 @@ config ARCH_DISCONTIGMEM_DEFAULT
1229 def_bool y 1221 def_bool y
1230 depends on NUMA && X86_32 1222 depends on NUMA && X86_32
1231 1223
1224config ARCH_PROC_KCORE_TEXT
1225 def_bool y
1226 depends on X86_64 && PROC_KCORE
1227
1232config ARCH_SPARSEMEM_DEFAULT 1228config ARCH_SPARSEMEM_DEFAULT
1233 def_bool y 1229 def_bool y
1234 depends on X86_64 1230 depends on X86_64
@@ -1414,6 +1410,10 @@ config X86_PAT
1414 1410
1415 If unsure, say Y. 1411 If unsure, say Y.
1416 1412
1413config ARCH_USES_PG_UNCACHED
1414 def_bool y
1415 depends on X86_PAT
1416
1417config EFI 1417config EFI
1418 bool "EFI runtime service support" 1418 bool "EFI runtime service support"
1419 depends on ACPI 1419 depends on ACPI
@@ -1683,6 +1683,8 @@ source "kernel/power/Kconfig"
1683 1683
1684source "drivers/acpi/Kconfig" 1684source "drivers/acpi/Kconfig"
1685 1685
1686source "drivers/sfi/Kconfig"
1687
1686config X86_APM_BOOT 1688config X86_APM_BOOT
1687 bool 1689 bool
1688 default y 1690 default y
@@ -1878,7 +1880,7 @@ config PCI_DIRECT
1878 1880
1879config PCI_MMCONFIG 1881config PCI_MMCONFIG
1880 def_bool y 1882 def_bool y
1881 depends on X86_32 && PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY) 1883 depends on X86_32 && PCI && (ACPI || SFI) && (PCI_GOMMCONFIG || PCI_GOANY)
1882 1884
1883config PCI_OLPC 1885config PCI_OLPC
1884 def_bool y 1886 def_bool y
@@ -1916,7 +1918,7 @@ config DMAR_DEFAULT_ON
1916config DMAR_BROKEN_GFX_WA 1918config DMAR_BROKEN_GFX_WA
1917 def_bool n 1919 def_bool n
1918 prompt "Workaround broken graphics drivers (going away soon)" 1920 prompt "Workaround broken graphics drivers (going away soon)"
1919 depends on DMAR 1921 depends on DMAR && BROKEN
1920 ---help--- 1922 ---help---
1921 Current Graphics drivers tend to use physical address 1923 Current Graphics drivers tend to use physical address
1922 for DMA and avoid using DMA APIs. Setting this config 1924 for DMA and avoid using DMA APIs. Setting this config