diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/Kconfig | 50 | ||||
-rw-r--r-- | arch/x86/Kconfig.cpu | 5 |
2 files changed, 33 insertions, 22 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 8ec3a1aa4abd..3fb871908ab2 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -7,11 +7,13 @@ config 64BIT | |||
7 | Say no to build a 32-bit kernel - formerly known as i386 | 7 | Say no to build a 32-bit kernel - formerly known as i386 |
8 | 8 | ||
9 | config X86_32 | 9 | config X86_32 |
10 | def_bool !64BIT | 10 | def_bool y |
11 | depends on !64BIT | ||
11 | select CLKSRC_I8253 | 12 | select CLKSRC_I8253 |
12 | 13 | ||
13 | config X86_64 | 14 | config X86_64 |
14 | def_bool 64BIT | 15 | def_bool y |
16 | depends on 64BIT | ||
15 | select X86_DEV_DMA_OPS | 17 | select X86_DEV_DMA_OPS |
16 | 18 | ||
17 | ### Arch settings | 19 | ### Arch settings |
@@ -99,7 +101,8 @@ config X86 | |||
99 | select GENERIC_STRNLEN_USER | 101 | select GENERIC_STRNLEN_USER |
100 | 102 | ||
101 | config INSTRUCTION_DECODER | 103 | config INSTRUCTION_DECODER |
102 | def_bool (KPROBES || PERF_EVENTS || UPROBES) | 104 | def_bool y |
105 | depends on KPROBES || PERF_EVENTS || UPROBES | ||
103 | 106 | ||
104 | config OUTPUT_FORMAT | 107 | config OUTPUT_FORMAT |
105 | string | 108 | string |
@@ -127,13 +130,15 @@ config SBUS | |||
127 | bool | 130 | bool |
128 | 131 | ||
129 | config NEED_DMA_MAP_STATE | 132 | config NEED_DMA_MAP_STATE |
130 | def_bool (X86_64 || INTEL_IOMMU || DMA_API_DEBUG) | 133 | def_bool y |
134 | depends on X86_64 || INTEL_IOMMU || DMA_API_DEBUG | ||
131 | 135 | ||
132 | config NEED_SG_DMA_LENGTH | 136 | config NEED_SG_DMA_LENGTH |
133 | def_bool y | 137 | def_bool y |
134 | 138 | ||
135 | config GENERIC_ISA_DMA | 139 | config GENERIC_ISA_DMA |
136 | def_bool ISA_DMA_API | 140 | def_bool y |
141 | depends on ISA_DMA_API | ||
137 | 142 | ||
138 | config GENERIC_BUG | 143 | config GENERIC_BUG |
139 | def_bool y | 144 | def_bool y |
@@ -150,13 +155,16 @@ config GENERIC_GPIO | |||
150 | bool | 155 | bool |
151 | 156 | ||
152 | config ARCH_MAY_HAVE_PC_FDC | 157 | config ARCH_MAY_HAVE_PC_FDC |
153 | def_bool ISA_DMA_API | 158 | def_bool y |
159 | depends on ISA_DMA_API | ||
154 | 160 | ||
155 | config RWSEM_GENERIC_SPINLOCK | 161 | config RWSEM_GENERIC_SPINLOCK |
156 | def_bool !X86_XADD | 162 | def_bool y |
163 | depends on !X86_XADD | ||
157 | 164 | ||
158 | config RWSEM_XCHGADD_ALGORITHM | 165 | config RWSEM_XCHGADD_ALGORITHM |
159 | def_bool X86_XADD | 166 | def_bool y |
167 | depends on X86_XADD | ||
160 | 168 | ||
161 | config GENERIC_CALIBRATE_DELAY | 169 | config GENERIC_CALIBRATE_DELAY |
162 | def_bool y | 170 | def_bool y |
@@ -752,7 +760,8 @@ config SWIOTLB | |||
752 | 3 GB of memory. If unsure, say Y. | 760 | 3 GB of memory. If unsure, say Y. |
753 | 761 | ||
754 | config IOMMU_HELPER | 762 | config IOMMU_HELPER |
755 | def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) | 763 | def_bool y |
764 | depends on CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU | ||
756 | 765 | ||
757 | config MAXSMP | 766 | config MAXSMP |
758 | bool "Enable Maximum number of SMP Processors and NUMA Nodes" | 767 | bool "Enable Maximum number of SMP Processors and NUMA Nodes" |
@@ -1159,10 +1168,12 @@ config X86_PAE | |||
1159 | consumes more pagetable space per process. | 1168 | consumes more pagetable space per process. |
1160 | 1169 | ||
1161 | config ARCH_PHYS_ADDR_T_64BIT | 1170 | config ARCH_PHYS_ADDR_T_64BIT |
1162 | def_bool X86_64 || X86_PAE | 1171 | def_bool y |
1172 | depends on X86_64 || X86_PAE | ||
1163 | 1173 | ||
1164 | config ARCH_DMA_ADDR_T_64BIT | 1174 | config ARCH_DMA_ADDR_T_64BIT |
1165 | def_bool X86_64 || HIGHMEM64G | 1175 | def_bool y |
1176 | depends on X86_64 || HIGHMEM64G | ||
1166 | 1177 | ||
1167 | config DIRECT_GBPAGES | 1178 | config DIRECT_GBPAGES |
1168 | bool "Enable 1GB pages for kernel pagetables" if EXPERT | 1179 | bool "Enable 1GB pages for kernel pagetables" if EXPERT |
@@ -1285,8 +1296,8 @@ config ARCH_SELECT_MEMORY_MODEL | |||
1285 | depends on ARCH_SPARSEMEM_ENABLE | 1296 | depends on ARCH_SPARSEMEM_ENABLE |
1286 | 1297 | ||
1287 | config ARCH_MEMORY_PROBE | 1298 | config ARCH_MEMORY_PROBE |
1288 | def_bool X86_64 | 1299 | def_bool y |
1289 | depends on MEMORY_HOTPLUG | 1300 | depends on X86_64 && MEMORY_HOTPLUG |
1290 | 1301 | ||
1291 | config ARCH_PROC_KCORE_TEXT | 1302 | config ARCH_PROC_KCORE_TEXT |
1292 | def_bool y | 1303 | def_bool y |
@@ -1975,7 +1986,6 @@ config PCI_MMCONFIG | |||
1975 | 1986 | ||
1976 | config PCI_CNB20LE_QUIRK | 1987 | config PCI_CNB20LE_QUIRK |
1977 | bool "Read CNB20LE Host Bridge Windows" if EXPERT | 1988 | bool "Read CNB20LE Host Bridge Windows" if EXPERT |
1978 | default n | ||
1979 | depends on PCI && EXPERIMENTAL | 1989 | depends on PCI && EXPERIMENTAL |
1980 | help | 1990 | help |
1981 | Read the PCI windows out of the CNB20LE host bridge. This allows | 1991 | Read the PCI windows out of the CNB20LE host bridge. This allows |
@@ -2186,18 +2196,18 @@ config COMPAT | |||
2186 | depends on IA32_EMULATION || X86_X32 | 2196 | depends on IA32_EMULATION || X86_X32 |
2187 | select ARCH_WANT_OLD_COMPAT_IPC | 2197 | select ARCH_WANT_OLD_COMPAT_IPC |
2188 | 2198 | ||
2199 | if COMPAT | ||
2189 | config COMPAT_FOR_U64_ALIGNMENT | 2200 | config COMPAT_FOR_U64_ALIGNMENT |
2190 | def_bool COMPAT | 2201 | def_bool y |
2191 | depends on X86_64 | ||
2192 | 2202 | ||
2193 | config SYSVIPC_COMPAT | 2203 | config SYSVIPC_COMPAT |
2194 | def_bool y | 2204 | def_bool y |
2195 | depends on COMPAT && SYSVIPC | 2205 | depends on SYSVIPC |
2196 | 2206 | ||
2197 | config KEYS_COMPAT | 2207 | config KEYS_COMPAT |
2198 | bool | 2208 | def_bool y |
2199 | depends on COMPAT && KEYS | 2209 | depends on KEYS |
2200 | default y | 2210 | endif |
2201 | 2211 | ||
2202 | endmenu | 2212 | endmenu |
2203 | 2213 | ||
diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index 706e12e9984b..f3b86d0df44e 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu | |||
@@ -306,7 +306,8 @@ config X86_INTERNODE_CACHE_SHIFT | |||
306 | default X86_L1_CACHE_SHIFT | 306 | default X86_L1_CACHE_SHIFT |
307 | 307 | ||
308 | config X86_CMPXCHG | 308 | config X86_CMPXCHG |
309 | def_bool X86_64 || (X86_32 && !M386) | 309 | def_bool y |
310 | depends on X86_64 || (X86_32 && !M386) | ||
310 | 311 | ||
311 | config X86_L1_CACHE_SHIFT | 312 | config X86_L1_CACHE_SHIFT |
312 | int | 313 | int |
@@ -317,7 +318,7 @@ config X86_L1_CACHE_SHIFT | |||
317 | 318 | ||
318 | config X86_XADD | 319 | config X86_XADD |
319 | def_bool y | 320 | def_bool y |
320 | depends on X86_64 || !M386 | 321 | depends on !M386 |
321 | 322 | ||
322 | config X86_PPRO_FENCE | 323 | config X86_PPRO_FENCE |
323 | bool "PentiumPro memory ordering errata workaround" | 324 | bool "PentiumPro memory ordering errata workaround" |