aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/Kconfig50
-rw-r--r--arch/x86/Kconfig.cpu5
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
9config X86_32 9config X86_32
10 def_bool !64BIT 10 def_bool y
11 depends on !64BIT
11 select CLKSRC_I8253 12 select CLKSRC_I8253
12 13
13config X86_64 14config 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
101config INSTRUCTION_DECODER 103config INSTRUCTION_DECODER
102 def_bool (KPROBES || PERF_EVENTS || UPROBES) 104 def_bool y
105 depends on KPROBES || PERF_EVENTS || UPROBES
103 106
104config OUTPUT_FORMAT 107config OUTPUT_FORMAT
105 string 108 string
@@ -127,13 +130,15 @@ config SBUS
127 bool 130 bool
128 131
129config NEED_DMA_MAP_STATE 132config 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
132config NEED_SG_DMA_LENGTH 136config NEED_SG_DMA_LENGTH
133 def_bool y 137 def_bool y
134 138
135config GENERIC_ISA_DMA 139config GENERIC_ISA_DMA
136 def_bool ISA_DMA_API 140 def_bool y
141 depends on ISA_DMA_API
137 142
138config GENERIC_BUG 143config GENERIC_BUG
139 def_bool y 144 def_bool y
@@ -150,13 +155,16 @@ config GENERIC_GPIO
150 bool 155 bool
151 156
152config ARCH_MAY_HAVE_PC_FDC 157config ARCH_MAY_HAVE_PC_FDC
153 def_bool ISA_DMA_API 158 def_bool y
159 depends on ISA_DMA_API
154 160
155config RWSEM_GENERIC_SPINLOCK 161config RWSEM_GENERIC_SPINLOCK
156 def_bool !X86_XADD 162 def_bool y
163 depends on !X86_XADD
157 164
158config RWSEM_XCHGADD_ALGORITHM 165config RWSEM_XCHGADD_ALGORITHM
159 def_bool X86_XADD 166 def_bool y
167 depends on X86_XADD
160 168
161config GENERIC_CALIBRATE_DELAY 169config 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
754config IOMMU_HELPER 762config 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
757config MAXSMP 766config 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
1161config ARCH_PHYS_ADDR_T_64BIT 1170config 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
1164config ARCH_DMA_ADDR_T_64BIT 1174config ARCH_DMA_ADDR_T_64BIT
1165 def_bool X86_64 || HIGHMEM64G 1175 def_bool y
1176 depends on X86_64 || HIGHMEM64G
1166 1177
1167config DIRECT_GBPAGES 1178config 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
1287config ARCH_MEMORY_PROBE 1298config 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
1291config ARCH_PROC_KCORE_TEXT 1302config ARCH_PROC_KCORE_TEXT
1292 def_bool y 1303 def_bool y
@@ -1975,7 +1986,6 @@ config PCI_MMCONFIG
1975 1986
1976config PCI_CNB20LE_QUIRK 1987config 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
2199if COMPAT
2189config COMPAT_FOR_U64_ALIGNMENT 2200config COMPAT_FOR_U64_ALIGNMENT
2190 def_bool COMPAT 2201 def_bool y
2191 depends on X86_64
2192 2202
2193config SYSVIPC_COMPAT 2203config SYSVIPC_COMPAT
2194 def_bool y 2204 def_bool y
2195 depends on COMPAT && SYSVIPC 2205 depends on SYSVIPC
2196 2206
2197config KEYS_COMPAT 2207config KEYS_COMPAT
2198 bool 2208 def_bool y
2199 depends on COMPAT && KEYS 2209 depends on KEYS
2200 default y 2210endif
2201 2211
2202endmenu 2212endmenu
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
308config X86_CMPXCHG 308config X86_CMPXCHG
309 def_bool X86_64 || (X86_32 && !M386) 309 def_bool y
310 depends on X86_64 || (X86_32 && !M386)
310 311
311config X86_L1_CACHE_SHIFT 312config X86_L1_CACHE_SHIFT
312 int 313 int
@@ -317,7 +318,7 @@ config X86_L1_CACHE_SHIFT
317 318
318config X86_XADD 319config X86_XADD
319 def_bool y 320 def_bool y
320 depends on X86_64 || !M386 321 depends on !M386
321 322
322config X86_PPRO_FENCE 323config X86_PPRO_FENCE
323 bool "PentiumPro memory ordering errata workaround" 324 bool "PentiumPro memory ordering errata workaround"