aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig79
1 files changed, 56 insertions, 23 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index e2cd95ebeeb1..12fbd5b65f1f 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -31,6 +31,7 @@ config X86
31 select ARCH_WANT_FRAME_POINTERS 31 select ARCH_WANT_FRAME_POINTERS
32 select HAVE_DMA_ATTRS 32 select HAVE_DMA_ATTRS
33 select HAVE_KRETPROBES 33 select HAVE_KRETPROBES
34 select HAVE_OPTPROBES
34 select HAVE_FTRACE_MCOUNT_RECORD 35 select HAVE_FTRACE_MCOUNT_RECORD
35 select HAVE_DYNAMIC_FTRACE 36 select HAVE_DYNAMIC_FTRACE
36 select HAVE_FUNCTION_TRACER 37 select HAVE_FUNCTION_TRACER
@@ -45,11 +46,17 @@ config X86
45 select HAVE_GENERIC_DMA_COHERENT if X86_32 46 select HAVE_GENERIC_DMA_COHERENT if X86_32
46 select HAVE_EFFICIENT_UNALIGNED_ACCESS 47 select HAVE_EFFICIENT_UNALIGNED_ACCESS
47 select USER_STACKTRACE_SUPPORT 48 select USER_STACKTRACE_SUPPORT
49 select HAVE_REGS_AND_STACK_ACCESS_API
48 select HAVE_DMA_API_DEBUG 50 select HAVE_DMA_API_DEBUG
49 select HAVE_KERNEL_GZIP 51 select HAVE_KERNEL_GZIP
50 select HAVE_KERNEL_BZIP2 52 select HAVE_KERNEL_BZIP2
51 select HAVE_KERNEL_LZMA 53 select HAVE_KERNEL_LZMA
54 select HAVE_KERNEL_LZO
55 select HAVE_HW_BREAKPOINT
56 select PERF_EVENTS
57 select ANON_INODES
52 select HAVE_ARCH_KMEMCHECK 58 select HAVE_ARCH_KMEMCHECK
59 select HAVE_USER_RETURN_NOTIFIER
53 60
54config OUTPUT_FORMAT 61config OUTPUT_FORMAT
55 string 62 string
@@ -95,6 +102,9 @@ config ZONE_DMA
95config SBUS 102config SBUS
96 bool 103 bool
97 104
105config NEED_DMA_MAP_STATE
106 def_bool (X86_64 || DMAR || DMA_API_DEBUG)
107
98config GENERIC_ISA_DMA 108config GENERIC_ISA_DMA
99 def_bool y 109 def_bool y
100 110
@@ -178,6 +188,9 @@ config ARCH_SUPPORTS_OPTIMIZED_INLINING
178config ARCH_SUPPORTS_DEBUG_PAGEALLOC 188config ARCH_SUPPORTS_DEBUG_PAGEALLOC
179 def_bool y 189 def_bool y
180 190
191config HAVE_EARLY_RES
192 def_bool y
193
181config HAVE_INTEL_TXT 194config HAVE_INTEL_TXT
182 def_bool y 195 def_bool y
183 depends on EXPERIMENTAL && DMAR && ACPI 196 depends on EXPERIMENTAL && DMAR && ACPI
@@ -383,8 +396,12 @@ config X86_ELAN
383 396
384config X86_MRST 397config X86_MRST
385 bool "Moorestown MID platform" 398 bool "Moorestown MID platform"
399 depends on PCI
400 depends on PCI_GOANY
386 depends on X86_32 401 depends on X86_32
387 depends on X86_EXTENDED_PLATFORM 402 depends on X86_EXTENDED_PLATFORM
403 depends on X86_IO_APIC
404 select APB_TIMER
388 ---help--- 405 ---help---
389 Moorestown is Intel's Low Power Intel Architecture (LPIA) based Moblin 406 Moorestown is Intel's Low Power Intel Architecture (LPIA) based Moblin
390 Internet Device(MID) platform. Moorestown consists of two chips: 407 Internet Device(MID) platform. Moorestown consists of two chips:
@@ -419,6 +436,7 @@ config X86_32_NON_STANDARD
419config X86_NUMAQ 436config X86_NUMAQ
420 bool "NUMAQ (IBM/Sequent)" 437 bool "NUMAQ (IBM/Sequent)"
421 depends on X86_32_NON_STANDARD 438 depends on X86_32_NON_STANDARD
439 depends on PCI
422 select NUMA 440 select NUMA
423 select X86_MPPARSE 441 select X86_MPPARSE
424 ---help--- 442 ---help---
@@ -563,6 +581,18 @@ config PARAVIRT_DEBUG
563 Enable to debug paravirt_ops internals. Specifically, BUG if 581 Enable to debug paravirt_ops internals. Specifically, BUG if
564 a paravirt_op is missing when it is called. 582 a paravirt_op is missing when it is called.
565 583
584config NO_BOOTMEM
585 default y
586 bool "Disable Bootmem code"
587 ---help---
588 Use early_res directly instead of bootmem before slab is ready.
589 - allocator (buddy) [generic]
590 - early allocator (bootmem) [generic]
591 - very early allocator (reserve_early*()) [x86]
592 - very very early allocator (early brk model) [x86]
593 So reduce one layer between early allocator to final allocator
594
595
566config MEMTEST 596config MEMTEST
567 bool "Memtest" 597 bool "Memtest"
568 ---help--- 598 ---help---
@@ -607,6 +637,16 @@ config HPET_EMULATE_RTC
607 def_bool y 637 def_bool y
608 depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y) 638 depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)
609 639
640config APB_TIMER
641 def_bool y if MRST
642 prompt "Langwell APB Timer Support" if X86_MRST
643 help
644 APB timer is the replacement for 8254, HPET on X86 MID platforms.
645 The APBT provides a stable time base on SMP
646 systems, unlike the TSC, but it is more expensive to access,
647 as it is off-chip. APB timers are always running regardless of CPU
648 C states, they are used as per CPU clockevent device when possible.
649
610# Mark as embedded because too many people got it wrong. 650# Mark as embedded because too many people got it wrong.
611# The code disables itself when not needed. 651# The code disables itself when not needed.
612config DMI 652config DMI
@@ -622,7 +662,7 @@ config GART_IOMMU
622 bool "GART IOMMU support" if EMBEDDED 662 bool "GART IOMMU support" if EMBEDDED
623 default y 663 default y
624 select SWIOTLB 664 select SWIOTLB
625 depends on X86_64 && PCI 665 depends on X86_64 && PCI && K8_NB
626 ---help--- 666 ---help---
627 Support for full DMA access of devices with 32bit memory access only 667 Support for full DMA access of devices with 32bit memory access only
628 on systems with more than 3GB. This is usually needed for USB, 668 on systems with more than 3GB. This is usually needed for USB,
@@ -984,12 +1024,6 @@ config X86_CPUID
984 with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to 1024 with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to
985 /dev/cpu/31/cpuid. 1025 /dev/cpu/31/cpuid.
986 1026
987config X86_CPU_DEBUG
988 tristate "/sys/kernel/debug/x86/cpu/* - CPU Debug support"
989 ---help---
990 If you select this option, this will provide various x86 CPUs
991 information through debugfs.
992
993choice 1027choice
994 prompt "High Memory Support" 1028 prompt "High Memory Support"
995 default HIGHMEM4G if !X86_NUMAQ 1029 default HIGHMEM4G if !X86_NUMAQ
@@ -1182,8 +1216,8 @@ config NUMA_EMU
1182 1216
1183config NODES_SHIFT 1217config NODES_SHIFT
1184 int "Maximum NUMA Nodes (as a power of 2)" if !MAXSMP 1218 int "Maximum NUMA Nodes (as a power of 2)" if !MAXSMP
1185 range 1 9 1219 range 1 10
1186 default "9" if MAXSMP 1220 default "10" if MAXSMP
1187 default "6" if X86_64 1221 default "6" if X86_64
1188 default "4" if X86_NUMAQ 1222 default "4" if X86_NUMAQ
1189 default "3" 1223 default "3"
@@ -1242,6 +1276,11 @@ config ARCH_MEMORY_PROBE
1242 def_bool X86_64 1276 def_bool X86_64
1243 depends on MEMORY_HOTPLUG 1277 depends on MEMORY_HOTPLUG
1244 1278
1279config ILLEGAL_POINTER_VALUE
1280 hex
1281 default 0 if X86_32
1282 default 0xdead000000000000 if X86_64
1283
1245source "mm/Kconfig" 1284source "mm/Kconfig"
1246 1285
1247config HIGHPTE 1286config HIGHPTE
@@ -1330,7 +1369,9 @@ config MATH_EMULATION
1330 kernel, it won't hurt. 1369 kernel, it won't hurt.
1331 1370
1332config MTRR 1371config MTRR
1333 bool "MTRR (Memory Type Range Register) support" 1372 bool
1373 default y
1374 prompt "MTRR (Memory Type Range Register) support" if EMBEDDED
1334 ---help--- 1375 ---help---
1335 On Intel P6 family processors (Pentium Pro, Pentium II and later) 1376 On Intel P6 family processors (Pentium Pro, Pentium II and later)
1336 the Memory Type Range Registers (MTRRs) may be used to control 1377 the Memory Type Range Registers (MTRRs) may be used to control
@@ -1396,7 +1437,8 @@ config MTRR_SANITIZER_SPARE_REG_NR_DEFAULT
1396 1437
1397config X86_PAT 1438config X86_PAT
1398 bool 1439 bool
1399 prompt "x86 PAT support" 1440 default y
1441 prompt "x86 PAT support" if EMBEDDED
1400 depends on MTRR 1442 depends on MTRR
1401 ---help--- 1443 ---help---
1402 Use PAT attributes to setup page level cache control. 1444 Use PAT attributes to setup page level cache control.
@@ -1602,7 +1644,7 @@ config COMPAT_VDSO
1602 depends on X86_32 || IA32_EMULATION 1644 depends on X86_32 || IA32_EMULATION
1603 ---help--- 1645 ---help---
1604 Map the 32-bit VDSO to the predictable old-style address too. 1646 Map the 32-bit VDSO to the predictable old-style address too.
1605 ---help--- 1647
1606 Say N here if you are running a sufficiently recent glibc 1648 Say N here if you are running a sufficiently recent glibc
1607 version (2.3.3 or later), to remove the high-mapped 1649 version (2.3.3 or later), to remove the high-mapped
1608 VDSO mapping and to exclusively use the randomized VDSO. 1650 VDSO mapping and to exclusively use the randomized VDSO.
@@ -2007,18 +2049,9 @@ config SCx200HR_TIMER
2007 processor goes idle (as is done by the scheduler). The 2049 processor goes idle (as is done by the scheduler). The
2008 other workaround is idle=poll boot option. 2050 other workaround is idle=poll boot option.
2009 2051
2010config GEODE_MFGPT_TIMER
2011 def_bool y
2012 prompt "Geode Multi-Function General Purpose Timer (MFGPT) events"
2013 depends on MGEODE_LX && GENERIC_TIME && GENERIC_CLOCKEVENTS
2014 ---help---
2015 This driver provides a clock event source based on the MFGPT
2016 timer(s) in the CS5535 and CS5536 companion chip for the geode.
2017 MFGPTs have a better resolution and max interval than the
2018 generic PIT, and are suitable for use as high-res timers.
2019
2020config OLPC 2052config OLPC
2021 bool "One Laptop Per Child support" 2053 bool "One Laptop Per Child support"
2054 select GPIOLIB
2022 default n 2055 default n
2023 ---help--- 2056 ---help---
2024 Add support for detecting the unique features of the OLPC 2057 Add support for detecting the unique features of the OLPC
@@ -2028,7 +2061,7 @@ endif # X86_32
2028 2061
2029config K8_NB 2062config K8_NB
2030 def_bool y 2063 def_bool y
2031 depends on AGP_AMD64 || (X86_64 && (GART_IOMMU || (PCI && NUMA))) 2064 depends on CPU_SUP_AMD && PCI
2032 2065
2033source "drivers/pcmcia/Kconfig" 2066source "drivers/pcmcia/Kconfig"
2034 2067