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