diff options
Diffstat (limited to 'arch/x86/Kconfig.cpu')
-rw-r--r-- | arch/x86/Kconfig.cpu | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index 2ac9069890cd..6a7cfdf8ff69 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu | |||
@@ -1,6 +1,4 @@ | |||
1 | # Put here option for CPU selection and depending optimization | 1 | # Put here option for CPU selection and depending optimization |
2 | if !X86_ELAN | ||
3 | |||
4 | choice | 2 | choice |
5 | prompt "Processor family" | 3 | prompt "Processor family" |
6 | default M686 if X86_32 | 4 | default M686 if X86_32 |
@@ -203,6 +201,14 @@ config MWINCHIP3D | |||
203 | stores for this CPU, which can increase performance of some | 201 | stores for this CPU, which can increase performance of some |
204 | operations. | 202 | operations. |
205 | 203 | ||
204 | config MELAN | ||
205 | bool "AMD Elan" | ||
206 | depends on X86_32 | ||
207 | ---help--- | ||
208 | Select this for an AMD Elan processor. | ||
209 | |||
210 | Do not use this option for K6/Athlon/Opteron processors! | ||
211 | |||
206 | config MGEODEGX1 | 212 | config MGEODEGX1 |
207 | bool "GeodeGX1" | 213 | bool "GeodeGX1" |
208 | depends on X86_32 | 214 | depends on X86_32 |
@@ -292,13 +298,6 @@ config X86_GENERIC | |||
292 | This is really intended for distributors who need more | 298 | This is really intended for distributors who need more |
293 | generic optimizations. | 299 | generic optimizations. |
294 | 300 | ||
295 | endif | ||
296 | |||
297 | config X86_CPU | ||
298 | def_bool y | ||
299 | select GENERIC_FIND_FIRST_BIT | ||
300 | select GENERIC_FIND_NEXT_BIT | ||
301 | |||
302 | # | 301 | # |
303 | # Define implied options from the CPU selection here | 302 | # Define implied options from the CPU selection here |
304 | config X86_INTERNODE_CACHE_SHIFT | 303 | config X86_INTERNODE_CACHE_SHIFT |
@@ -310,11 +309,14 @@ config X86_INTERNODE_CACHE_SHIFT | |||
310 | config X86_CMPXCHG | 309 | config X86_CMPXCHG |
311 | def_bool X86_64 || (X86_32 && !M386) | 310 | def_bool X86_64 || (X86_32 && !M386) |
312 | 311 | ||
312 | config CMPXCHG_LOCAL | ||
313 | def_bool X86_64 || (X86_32 && !M386) | ||
314 | |||
313 | config X86_L1_CACHE_SHIFT | 315 | config X86_L1_CACHE_SHIFT |
314 | int | 316 | int |
315 | default "7" if MPENTIUM4 || MPSC | 317 | default "7" if MPENTIUM4 || MPSC |
316 | default "6" if MK7 || MK8 || MPENTIUMM || MCORE2 || MATOM || MVIAC7 || X86_GENERIC || GENERIC_CPU | 318 | default "6" if MK7 || MK8 || MPENTIUMM || MCORE2 || MATOM || MVIAC7 || X86_GENERIC || GENERIC_CPU |
317 | default "4" if X86_ELAN || M486 || M386 || MGEODEGX1 | 319 | default "4" if MELAN || M486 || M386 || MGEODEGX1 |
318 | default "5" if MWINCHIP3D || MWINCHIPC6 || MCRUSOE || MEFFICEON || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2 || MGEODE_LX | 320 | default "5" if MWINCHIP3D || MWINCHIPC6 || MCRUSOE || MEFFICEON || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2 || MGEODE_LX |
319 | 321 | ||
320 | config X86_XADD | 322 | config X86_XADD |
@@ -328,7 +330,7 @@ config X86_PPRO_FENCE | |||
328 | Old PentiumPro multiprocessor systems had errata that could cause | 330 | Old PentiumPro multiprocessor systems had errata that could cause |
329 | memory operations to violate the x86 ordering standard in rare cases. | 331 | memory operations to violate the x86 ordering standard in rare cases. |
330 | Enabling this option will attempt to work around some (but not all) | 332 | Enabling this option will attempt to work around some (but not all) |
331 | occurances of this problem, at the cost of much heavier spinlock and | 333 | occurrences of this problem, at the cost of much heavier spinlock and |
332 | memory barrier operations. | 334 | memory barrier operations. |
333 | 335 | ||
334 | If unsure, say n here. Even distro kernels should think twice before | 336 | If unsure, say n here. Even distro kernels should think twice before |
@@ -360,7 +362,7 @@ config X86_POPAD_OK | |||
360 | 362 | ||
361 | config X86_ALIGNMENT_16 | 363 | config X86_ALIGNMENT_16 |
362 | def_bool y | 364 | def_bool y |
363 | depends on MWINCHIP3D || MWINCHIPC6 || MCYRIXIII || X86_ELAN || MK6 || M586MMX || M586TSC || M586 || M486 || MVIAC3_2 || MGEODEGX1 | 365 | depends on MWINCHIP3D || MWINCHIPC6 || MCYRIXIII || MELAN || MK6 || M586MMX || M586TSC || M586 || M486 || MVIAC3_2 || MGEODEGX1 |
364 | 366 | ||
365 | config X86_INTEL_USERCOPY | 367 | config X86_INTEL_USERCOPY |
366 | def_bool y | 368 | def_bool y |
@@ -368,7 +370,7 @@ config X86_INTEL_USERCOPY | |||
368 | 370 | ||
369 | config X86_USE_PPRO_CHECKSUM | 371 | config X86_USE_PPRO_CHECKSUM |
370 | def_bool y | 372 | def_bool y |
371 | depends on MWINCHIP3D || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2 || MEFFICEON || MGEODE_LX || MCORE2 || MATOM | 373 | depends on MWINCHIP3D || MWINCHIPC6 || MCYRIXIII || MK7 || MK6 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MK8 || MVIAC3_2 || MVIAC7 || MEFFICEON || MGEODE_LX || MCORE2 || MATOM |
372 | 374 | ||
373 | config X86_USE_3DNOW | 375 | config X86_USE_3DNOW |
374 | def_bool y | 376 | def_bool y |
@@ -421,7 +423,7 @@ config X86_DEBUGCTLMSR | |||
421 | depends on !(MK6 || MWINCHIPC6 || MWINCHIP3D || MCYRIXIII || M586MMX || M586TSC || M586 || M486 || M386) && !UML | 423 | depends on !(MK6 || MWINCHIPC6 || MWINCHIP3D || MCYRIXIII || M586MMX || M586TSC || M586 || M486 || M386) && !UML |
422 | 424 | ||
423 | menuconfig PROCESSOR_SELECT | 425 | menuconfig PROCESSOR_SELECT |
424 | bool "Supported processor vendors" if EMBEDDED | 426 | bool "Supported processor vendors" if EXPERT |
425 | ---help--- | 427 | ---help--- |
426 | This lets you choose what x86 vendor support code your kernel | 428 | This lets you choose what x86 vendor support code your kernel |
427 | will include. | 429 | will include. |