aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig61
1 files changed, 27 insertions, 34 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index cc6c53a95bfd..4168e5d8632a 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -8,6 +8,7 @@ config 64BIT
8 8
9config X86_32 9config X86_32
10 def_bool !64BIT 10 def_bool !64BIT
11 select CLKSRC_I8253
11 12
12config X86_64 13config X86_64
13 def_bool 64BIT 14 def_bool 64BIT
@@ -71,7 +72,6 @@ config X86
71 select GENERIC_IRQ_SHOW 72 select GENERIC_IRQ_SHOW
72 select IRQ_FORCED_THREADING 73 select IRQ_FORCED_THREADING
73 select USE_GENERIC_SMP_HELPERS if SMP 74 select USE_GENERIC_SMP_HELPERS if SMP
74 select ARCH_NO_SYSDEV_OPS
75 75
76config INSTRUCTION_DECODER 76config INSTRUCTION_DECODER
77 def_bool (KPROBES || PERF_EVENTS) 77 def_bool (KPROBES || PERF_EVENTS)
@@ -112,7 +112,14 @@ config MMU
112 def_bool y 112 def_bool y
113 113
114config ZONE_DMA 114config ZONE_DMA
115 def_bool y 115 bool "DMA memory allocation support" if EXPERT
116 default y
117 help
118 DMA memory allocation support allows devices with less than 32-bit
119 addressing to allocate within the first 16MB of address space.
120 Disable if no such devices will be used.
121
122 If unsure, say Y.
116 123
117config SBUS 124config SBUS
118 bool 125 bool
@@ -365,17 +372,6 @@ config X86_UV
365# Following is an alphabetically sorted list of 32 bit extended platforms 372# Following is an alphabetically sorted list of 32 bit extended platforms
366# Please maintain the alphabetic order if and when there are additions 373# Please maintain the alphabetic order if and when there are additions
367 374
368config X86_ELAN
369 bool "AMD Elan"
370 depends on X86_32
371 depends on X86_EXTENDED_PLATFORM
372 ---help---
373 Select this for an AMD Elan processor.
374
375 Do not use this option for K6/Athlon/Opteron processors!
376
377 If unsure, choose "PC-compatible" instead.
378
379config X86_INTEL_CE 375config X86_INTEL_CE
380 bool "CE4100 TV platform" 376 bool "CE4100 TV platform"
381 depends on PCI 377 depends on PCI
@@ -690,6 +686,7 @@ config AMD_IOMMU
690 bool "AMD IOMMU support" 686 bool "AMD IOMMU support"
691 select SWIOTLB 687 select SWIOTLB
692 select PCI_MSI 688 select PCI_MSI
689 select PCI_IOV
693 depends on X86_64 && PCI && ACPI 690 depends on X86_64 && PCI && ACPI
694 ---help--- 691 ---help---
695 With this option you can enable support for AMD IOMMU hardware in 692 With this option you can enable support for AMD IOMMU hardware in
@@ -1174,7 +1171,7 @@ comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
1174config AMD_NUMA 1171config AMD_NUMA
1175 def_bool y 1172 def_bool y
1176 prompt "Old style AMD Opteron NUMA detection" 1173 prompt "Old style AMD Opteron NUMA detection"
1177 depends on X86_64 && NUMA && PCI 1174 depends on NUMA && PCI
1178 ---help--- 1175 ---help---
1179 Enable AMD NUMA node topology detection. You should say Y here if 1176 Enable AMD NUMA node topology detection. You should say Y here if
1180 you have a multi processor AMD system. This uses an old method to 1177 you have a multi processor AMD system. This uses an old method to
@@ -1201,7 +1198,7 @@ config NODES_SPAN_OTHER_NODES
1201 1198
1202config NUMA_EMU 1199config NUMA_EMU
1203 bool "NUMA emulation" 1200 bool "NUMA emulation"
1204 depends on X86_64 && NUMA 1201 depends on NUMA
1205 ---help--- 1202 ---help---
1206 Enable NUMA emulation. A flat machine will be split 1203 Enable NUMA emulation. A flat machine will be split
1207 into virtual nodes when booted with "numa=fake=N", where N is the 1204 into virtual nodes when booted with "numa=fake=N", where N is the
@@ -1223,6 +1220,10 @@ config HAVE_ARCH_BOOTMEM
1223 def_bool y 1220 def_bool y
1224 depends on X86_32 && NUMA 1221 depends on X86_32 && NUMA
1225 1222
1223config HAVE_ARCH_ALLOC_REMAP
1224 def_bool y
1225 depends on X86_32 && NUMA
1226
1226config ARCH_HAVE_MEMORY_PRESENT 1227config ARCH_HAVE_MEMORY_PRESENT
1227 def_bool y 1228 def_bool y
1228 depends on X86_32 && DISCONTIGMEM 1229 depends on X86_32 && DISCONTIGMEM
@@ -1231,13 +1232,9 @@ config NEED_NODE_MEMMAP_SIZE
1231 def_bool y 1232 def_bool y
1232 depends on X86_32 && (DISCONTIGMEM || SPARSEMEM) 1233 depends on X86_32 && (DISCONTIGMEM || SPARSEMEM)
1233 1234
1234config HAVE_ARCH_ALLOC_REMAP
1235 def_bool y
1236 depends on X86_32 && NUMA
1237
1238config ARCH_FLATMEM_ENABLE 1235config ARCH_FLATMEM_ENABLE
1239 def_bool y 1236 def_bool y
1240 depends on X86_32 && ARCH_SELECT_MEMORY_MODEL && !NUMA 1237 depends on X86_32 && !NUMA
1241 1238
1242config ARCH_DISCONTIGMEM_ENABLE 1239config ARCH_DISCONTIGMEM_ENABLE
1243 def_bool y 1240 def_bool y
@@ -1247,20 +1244,16 @@ config ARCH_DISCONTIGMEM_DEFAULT
1247 def_bool y 1244 def_bool y
1248 depends on NUMA && X86_32 1245 depends on NUMA && X86_32
1249 1246
1250config ARCH_PROC_KCORE_TEXT
1251 def_bool y
1252 depends on X86_64 && PROC_KCORE
1253
1254config ARCH_SPARSEMEM_DEFAULT
1255 def_bool y
1256 depends on X86_64
1257
1258config ARCH_SPARSEMEM_ENABLE 1247config ARCH_SPARSEMEM_ENABLE
1259 def_bool y 1248 def_bool y
1260 depends on X86_64 || NUMA || (EXPERIMENTAL && X86_32) || X86_32_NON_STANDARD 1249 depends on X86_64 || NUMA || (EXPERIMENTAL && X86_32) || X86_32_NON_STANDARD
1261 select SPARSEMEM_STATIC if X86_32 1250 select SPARSEMEM_STATIC if X86_32
1262 select SPARSEMEM_VMEMMAP_ENABLE if X86_64 1251 select SPARSEMEM_VMEMMAP_ENABLE if X86_64
1263 1252
1253config ARCH_SPARSEMEM_DEFAULT
1254 def_bool y
1255 depends on X86_64
1256
1264config ARCH_SELECT_MEMORY_MODEL 1257config ARCH_SELECT_MEMORY_MODEL
1265 def_bool y 1258 def_bool y
1266 depends on ARCH_SPARSEMEM_ENABLE 1259 depends on ARCH_SPARSEMEM_ENABLE
@@ -1269,6 +1262,10 @@ config ARCH_MEMORY_PROBE
1269 def_bool X86_64 1262 def_bool X86_64
1270 depends on MEMORY_HOTPLUG 1263 depends on MEMORY_HOTPLUG
1271 1264
1265config ARCH_PROC_KCORE_TEXT
1266 def_bool y
1267 depends on X86_64 && PROC_KCORE
1268
1272config ILLEGAL_POINTER_VALUE 1269config ILLEGAL_POINTER_VALUE
1273 hex 1270 hex
1274 default 0 if X86_32 1271 default 0 if X86_32
@@ -1703,10 +1700,6 @@ config ARCH_ENABLE_MEMORY_HOTREMOVE
1703 def_bool y 1700 def_bool y
1704 depends on MEMORY_HOTPLUG 1701 depends on MEMORY_HOTPLUG
1705 1702
1706config HAVE_ARCH_EARLY_PFN_TO_NID
1707 def_bool X86_64
1708 depends on NUMA
1709
1710config USE_PERCPU_NUMA_NODE_ID 1703config USE_PERCPU_NUMA_NODE_ID
1711 def_bool y 1704 def_bool y
1712 depends on NUMA 1705 depends on NUMA
@@ -1848,7 +1841,7 @@ config APM_ALLOW_INTS
1848 1841
1849endif # APM 1842endif # APM
1850 1843
1851source "arch/x86/kernel/cpu/cpufreq/Kconfig" 1844source "drivers/cpufreq/Kconfig"
1852 1845
1853source "drivers/cpuidle/Kconfig" 1846source "drivers/cpuidle/Kconfig"
1854 1847
@@ -2076,7 +2069,7 @@ config OLPC
2076 depends on !X86_PAE 2069 depends on !X86_PAE
2077 select GPIOLIB 2070 select GPIOLIB
2078 select OF 2071 select OF
2079 select OF_PROMTREE if PROC_DEVICETREE 2072 select OF_PROMTREE
2080 ---help--- 2073 ---help---
2081 Add support for detecting the unique features of the OLPC 2074 Add support for detecting the unique features of the OLPC
2082 XO hardware. 2075 XO hardware.