diff options
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 344 |
1 files changed, 168 insertions, 176 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 37d1297e6787..3954ae96b0c7 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -17,81 +17,74 @@ config X86_64 | |||
17 | 17 | ||
18 | ### Arch settings | 18 | ### Arch settings |
19 | config X86 | 19 | config X86 |
20 | bool | 20 | def_bool y |
21 | default y | 21 | select HAVE_OPROFILE |
22 | select HAVE_KPROBES | ||
23 | |||
24 | config GENERIC_LOCKBREAK | ||
25 | def_bool n | ||
22 | 26 | ||
23 | config GENERIC_TIME | 27 | config GENERIC_TIME |
24 | bool | 28 | def_bool y |
25 | default y | ||
26 | 29 | ||
27 | config GENERIC_CMOS_UPDATE | 30 | config GENERIC_CMOS_UPDATE |
28 | bool | 31 | def_bool y |
29 | default y | ||
30 | 32 | ||
31 | config CLOCKSOURCE_WATCHDOG | 33 | config CLOCKSOURCE_WATCHDOG |
32 | bool | 34 | def_bool y |
33 | default y | ||
34 | 35 | ||
35 | config GENERIC_CLOCKEVENTS | 36 | config GENERIC_CLOCKEVENTS |
36 | bool | 37 | def_bool y |
37 | default y | ||
38 | 38 | ||
39 | config GENERIC_CLOCKEVENTS_BROADCAST | 39 | config GENERIC_CLOCKEVENTS_BROADCAST |
40 | bool | 40 | def_bool y |
41 | default y | ||
42 | depends on X86_64 || (X86_32 && X86_LOCAL_APIC) | 41 | depends on X86_64 || (X86_32 && X86_LOCAL_APIC) |
43 | 42 | ||
44 | config LOCKDEP_SUPPORT | 43 | config LOCKDEP_SUPPORT |
45 | bool | 44 | def_bool y |
46 | default y | ||
47 | 45 | ||
48 | config STACKTRACE_SUPPORT | 46 | config STACKTRACE_SUPPORT |
49 | bool | 47 | def_bool y |
50 | default y | 48 | |
49 | config HAVE_LATENCYTOP_SUPPORT | ||
50 | def_bool y | ||
51 | 51 | ||
52 | config SEMAPHORE_SLEEPERS | 52 | config SEMAPHORE_SLEEPERS |
53 | bool | 53 | def_bool y |
54 | default y | ||
55 | 54 | ||
56 | config MMU | 55 | config MMU |
57 | bool | 56 | def_bool y |
58 | default y | ||
59 | 57 | ||
60 | config ZONE_DMA | 58 | config ZONE_DMA |
61 | bool | 59 | def_bool y |
62 | default y | ||
63 | 60 | ||
64 | config QUICKLIST | 61 | config QUICKLIST |
65 | bool | 62 | def_bool X86_32 |
66 | default X86_32 | ||
67 | 63 | ||
68 | config SBUS | 64 | config SBUS |
69 | bool | 65 | bool |
70 | 66 | ||
71 | config GENERIC_ISA_DMA | 67 | config GENERIC_ISA_DMA |
72 | bool | 68 | def_bool y |
73 | default y | ||
74 | 69 | ||
75 | config GENERIC_IOMAP | 70 | config GENERIC_IOMAP |
76 | bool | 71 | def_bool y |
77 | default y | ||
78 | 72 | ||
79 | config GENERIC_BUG | 73 | config GENERIC_BUG |
80 | bool | 74 | def_bool y |
81 | default y | ||
82 | depends on BUG | 75 | depends on BUG |
83 | 76 | ||
84 | config GENERIC_HWEIGHT | 77 | config GENERIC_HWEIGHT |
85 | bool | 78 | def_bool y |
86 | default y | 79 | |
80 | config GENERIC_GPIO | ||
81 | def_bool n | ||
87 | 82 | ||
88 | config ARCH_MAY_HAVE_PC_FDC | 83 | config ARCH_MAY_HAVE_PC_FDC |
89 | bool | 84 | def_bool y |
90 | default y | ||
91 | 85 | ||
92 | config DMI | 86 | config DMI |
93 | bool | 87 | def_bool y |
94 | default y | ||
95 | 88 | ||
96 | config RWSEM_GENERIC_SPINLOCK | 89 | config RWSEM_GENERIC_SPINLOCK |
97 | def_bool !X86_XADD | 90 | def_bool !X86_XADD |
@@ -115,9 +108,21 @@ config GENERIC_TIME_VSYSCALL | |||
115 | bool | 108 | bool |
116 | default X86_64 | 109 | default X86_64 |
117 | 110 | ||
111 | config ARCH_HAS_CPU_RELAX | ||
112 | def_bool y | ||
113 | |||
114 | config HAVE_SETUP_PER_CPU_AREA | ||
115 | def_bool X86_64 | ||
118 | 116 | ||
117 | select HAVE_KVM | ||
119 | 118 | ||
119 | config ARCH_HIBERNATION_POSSIBLE | ||
120 | def_bool y | ||
121 | depends on !SMP || !X86_VOYAGER | ||
120 | 122 | ||
123 | config ARCH_SUSPEND_POSSIBLE | ||
124 | def_bool y | ||
125 | depends on !X86_VOYAGER | ||
121 | 126 | ||
122 | config ZONE_DMA32 | 127 | config ZONE_DMA32 |
123 | bool | 128 | bool |
@@ -146,12 +151,21 @@ config GENERIC_PENDING_IRQ | |||
146 | 151 | ||
147 | config X86_SMP | 152 | config X86_SMP |
148 | bool | 153 | bool |
149 | depends on X86_32 && SMP && !X86_VOYAGER | 154 | depends on SMP && ((X86_32 && !X86_VOYAGER) || X86_64) |
150 | default y | 155 | default y |
151 | 156 | ||
157 | config X86_32_SMP | ||
158 | def_bool y | ||
159 | depends on X86_32 && SMP | ||
160 | |||
161 | config X86_64_SMP | ||
162 | def_bool y | ||
163 | depends on X86_64 && SMP | ||
164 | |||
152 | config X86_HT | 165 | config X86_HT |
153 | bool | 166 | bool |
154 | depends on SMP && !(X86_VISWS || X86_VOYAGER || MK8) | 167 | depends on SMP |
168 | depends on (X86_32 && !(X86_VISWS || X86_VOYAGER)) || (X86_64 && !MK8) | ||
155 | default y | 169 | default y |
156 | 170 | ||
157 | config X86_BIOS_REBOOT | 171 | config X86_BIOS_REBOOT |
@@ -194,8 +208,7 @@ config SMP | |||
194 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power | 208 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power |
195 | Management" code will be disabled if you say Y here. | 209 | Management" code will be disabled if you say Y here. |
196 | 210 | ||
197 | See also the <file:Documentation/smp.txt>, | 211 | See also <file:Documentation/i386/IO-APIC.txt>, |
198 | <file:Documentation/i386/IO-APIC.txt>, | ||
199 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at | 212 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at |
200 | <http://www.tldp.org/docs.html#howto>. | 213 | <http://www.tldp.org/docs.html#howto>. |
201 | 214 | ||
@@ -293,6 +306,19 @@ config X86_ES7000 | |||
293 | Only choose this option if you have such a system, otherwise you | 306 | Only choose this option if you have such a system, otherwise you |
294 | should say N here. | 307 | should say N here. |
295 | 308 | ||
309 | config X86_RDC321X | ||
310 | bool "RDC R-321x SoC" | ||
311 | depends on X86_32 | ||
312 | select M486 | ||
313 | select X86_REBOOTFIXUPS | ||
314 | select GENERIC_GPIO | ||
315 | select LEDS_CLASS | ||
316 | select LEDS_GPIO | ||
317 | help | ||
318 | This option is needed for RDC R-321x system-on-chip, also known | ||
319 | as R-8610-(G). | ||
320 | If you don't have one of these chips, you should say N here. | ||
321 | |||
296 | config X86_VSMP | 322 | config X86_VSMP |
297 | bool "Support for ScaleMP vSMP" | 323 | bool "Support for ScaleMP vSMP" |
298 | depends on X86_64 && PCI | 324 | depends on X86_64 && PCI |
@@ -304,8 +330,8 @@ config X86_VSMP | |||
304 | endchoice | 330 | endchoice |
305 | 331 | ||
306 | config SCHED_NO_NO_OMIT_FRAME_POINTER | 332 | config SCHED_NO_NO_OMIT_FRAME_POINTER |
307 | bool "Single-depth WCHAN output" | 333 | def_bool y |
308 | default y | 334 | prompt "Single-depth WCHAN output" |
309 | depends on X86_32 | 335 | depends on X86_32 |
310 | help | 336 | help |
311 | Calculate simpler /proc/<PID>/wchan values. If this option | 337 | Calculate simpler /proc/<PID>/wchan values. If this option |
@@ -315,18 +341,8 @@ config SCHED_NO_NO_OMIT_FRAME_POINTER | |||
315 | 341 | ||
316 | If in doubt, say "Y". | 342 | If in doubt, say "Y". |
317 | 343 | ||
318 | config PARAVIRT | ||
319 | bool | ||
320 | depends on X86_32 && !(X86_VISWS || X86_VOYAGER) | ||
321 | help | ||
322 | This changes the kernel so it can modify itself when it is run | ||
323 | under a hypervisor, potentially improving performance significantly | ||
324 | over full virtualization. However, when run without a hypervisor | ||
325 | the kernel is theoretically slower and slightly larger. | ||
326 | |||
327 | menuconfig PARAVIRT_GUEST | 344 | menuconfig PARAVIRT_GUEST |
328 | bool "Paravirtualized guest support" | 345 | bool "Paravirtualized guest support" |
329 | depends on X86_32 | ||
330 | help | 346 | help |
331 | Say Y here to get to see options related to running Linux under | 347 | Say Y here to get to see options related to running Linux under |
332 | various hypervisors. This option alone does not add any kernel code. | 348 | various hypervisors. This option alone does not add any kernel code. |
@@ -340,6 +356,7 @@ source "arch/x86/xen/Kconfig" | |||
340 | config VMI | 356 | config VMI |
341 | bool "VMI Guest support" | 357 | bool "VMI Guest support" |
342 | select PARAVIRT | 358 | select PARAVIRT |
359 | depends on X86_32 | ||
343 | depends on !(X86_VISWS || X86_VOYAGER) | 360 | depends on !(X86_VISWS || X86_VOYAGER) |
344 | help | 361 | help |
345 | VMI provides a paravirtualized interface to the VMware ESX server | 362 | VMI provides a paravirtualized interface to the VMware ESX server |
@@ -349,40 +366,43 @@ config VMI | |||
349 | 366 | ||
350 | source "arch/x86/lguest/Kconfig" | 367 | source "arch/x86/lguest/Kconfig" |
351 | 368 | ||
369 | config PARAVIRT | ||
370 | bool "Enable paravirtualization code" | ||
371 | depends on !(X86_VISWS || X86_VOYAGER) | ||
372 | help | ||
373 | This changes the kernel so it can modify itself when it is run | ||
374 | under a hypervisor, potentially improving performance significantly | ||
375 | over full virtualization. However, when run without a hypervisor | ||
376 | the kernel is theoretically slower and slightly larger. | ||
377 | |||
352 | endif | 378 | endif |
353 | 379 | ||
354 | config ACPI_SRAT | 380 | config ACPI_SRAT |
355 | bool | 381 | def_bool y |
356 | default y | ||
357 | depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH) | 382 | depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH) |
358 | select ACPI_NUMA | 383 | select ACPI_NUMA |
359 | 384 | ||
360 | config HAVE_ARCH_PARSE_SRAT | 385 | config HAVE_ARCH_PARSE_SRAT |
361 | bool | 386 | def_bool y |
362 | default y | 387 | depends on ACPI_SRAT |
363 | depends on ACPI_SRAT | ||
364 | 388 | ||
365 | config X86_SUMMIT_NUMA | 389 | config X86_SUMMIT_NUMA |
366 | bool | 390 | def_bool y |
367 | default y | ||
368 | depends on X86_32 && NUMA && (X86_SUMMIT || X86_GENERICARCH) | 391 | depends on X86_32 && NUMA && (X86_SUMMIT || X86_GENERICARCH) |
369 | 392 | ||
370 | config X86_CYCLONE_TIMER | 393 | config X86_CYCLONE_TIMER |
371 | bool | 394 | def_bool y |
372 | default y | ||
373 | depends on X86_32 && X86_SUMMIT || X86_GENERICARCH | 395 | depends on X86_32 && X86_SUMMIT || X86_GENERICARCH |
374 | 396 | ||
375 | config ES7000_CLUSTERED_APIC | 397 | config ES7000_CLUSTERED_APIC |
376 | bool | 398 | def_bool y |
377 | default y | ||
378 | depends on SMP && X86_ES7000 && MPENTIUMIII | 399 | depends on SMP && X86_ES7000 && MPENTIUMIII |
379 | 400 | ||
380 | source "arch/x86/Kconfig.cpu" | 401 | source "arch/x86/Kconfig.cpu" |
381 | 402 | ||
382 | config HPET_TIMER | 403 | config HPET_TIMER |
383 | bool | 404 | def_bool X86_64 |
384 | prompt "HPET Timer Support" if X86_32 | 405 | prompt "HPET Timer Support" if X86_32 |
385 | default X86_64 | ||
386 | help | 406 | help |
387 | Use the IA-PC HPET (High Precision Event Timer) to manage | 407 | Use the IA-PC HPET (High Precision Event Timer) to manage |
388 | time in preference to the PIT and RTC, if a HPET is | 408 | time in preference to the PIT and RTC, if a HPET is |
@@ -400,9 +420,8 @@ config HPET_TIMER | |||
400 | Choose N to continue using the legacy 8254 timer. | 420 | Choose N to continue using the legacy 8254 timer. |
401 | 421 | ||
402 | config HPET_EMULATE_RTC | 422 | config HPET_EMULATE_RTC |
403 | bool | 423 | def_bool y |
404 | depends on HPET_TIMER && RTC=y | 424 | depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y) |
405 | default y | ||
406 | 425 | ||
407 | # Mark as embedded because too many people got it wrong. | 426 | # Mark as embedded because too many people got it wrong. |
408 | # The code disables itself when not needed. | 427 | # The code disables itself when not needed. |
@@ -442,8 +461,8 @@ config CALGARY_IOMMU | |||
442 | If unsure, say Y. | 461 | If unsure, say Y. |
443 | 462 | ||
444 | config CALGARY_IOMMU_ENABLED_BY_DEFAULT | 463 | config CALGARY_IOMMU_ENABLED_BY_DEFAULT |
445 | bool "Should Calgary be enabled by default?" | 464 | def_bool y |
446 | default y | 465 | prompt "Should Calgary be enabled by default?" |
447 | depends on CALGARY_IOMMU | 466 | depends on CALGARY_IOMMU |
448 | help | 467 | help |
449 | Should Calgary be enabled by default? if you choose 'y', Calgary | 468 | Should Calgary be enabled by default? if you choose 'y', Calgary |
@@ -452,6 +471,9 @@ config CALGARY_IOMMU_ENABLED_BY_DEFAULT | |||
452 | Calgary anyway, pass 'iommu=calgary' on the kernel command line. | 471 | Calgary anyway, pass 'iommu=calgary' on the kernel command line. |
453 | If unsure, say Y. | 472 | If unsure, say Y. |
454 | 473 | ||
474 | config IOMMU_HELPER | ||
475 | def_bool (CALGARY_IOMMU || GART_IOMMU) | ||
476 | |||
455 | # need this always selected by IOMMU for the VIA workaround | 477 | # need this always selected by IOMMU for the VIA workaround |
456 | config SWIOTLB | 478 | config SWIOTLB |
457 | bool | 479 | bool |
@@ -487,9 +509,9 @@ config SCHED_SMT | |||
487 | N here. | 509 | N here. |
488 | 510 | ||
489 | config SCHED_MC | 511 | config SCHED_MC |
490 | bool "Multi-core scheduler support" | 512 | def_bool y |
513 | prompt "Multi-core scheduler support" | ||
491 | depends on (X86_64 && SMP) || (X86_32 && X86_HT) | 514 | depends on (X86_64 && SMP) || (X86_32 && X86_HT) |
492 | default y | ||
493 | help | 515 | help |
494 | Multi-core scheduler support improves the CPU scheduler's decision | 516 | Multi-core scheduler support improves the CPU scheduler's decision |
495 | making when dealing with multi-core CPU chips at a cost of slightly | 517 | making when dealing with multi-core CPU chips at a cost of slightly |
@@ -523,19 +545,16 @@ config X86_UP_IOAPIC | |||
523 | an IO-APIC, then the kernel will still run with no slowdown at all. | 545 | an IO-APIC, then the kernel will still run with no slowdown at all. |
524 | 546 | ||
525 | config X86_LOCAL_APIC | 547 | config X86_LOCAL_APIC |
526 | bool | 548 | def_bool y |
527 | depends on X86_64 || (X86_32 && (X86_UP_APIC || ((X86_VISWS || SMP) && !X86_VOYAGER) || X86_GENERICARCH)) | 549 | depends on X86_64 || (X86_32 && (X86_UP_APIC || ((X86_VISWS || SMP) && !X86_VOYAGER) || X86_GENERICARCH)) |
528 | default y | ||
529 | 550 | ||
530 | config X86_IO_APIC | 551 | config X86_IO_APIC |
531 | bool | 552 | def_bool y |
532 | depends on X86_64 || (X86_32 && (X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER)) || X86_GENERICARCH)) | 553 | depends on X86_64 || (X86_32 && (X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER)) || X86_GENERICARCH)) |
533 | default y | ||
534 | 554 | ||
535 | config X86_VISWS_APIC | 555 | config X86_VISWS_APIC |
536 | bool | 556 | def_bool y |
537 | depends on X86_32 && X86_VISWS | 557 | depends on X86_32 && X86_VISWS |
538 | default y | ||
539 | 558 | ||
540 | config X86_MCE | 559 | config X86_MCE |
541 | bool "Machine Check Exception" | 560 | bool "Machine Check Exception" |
@@ -555,17 +574,17 @@ config X86_MCE | |||
555 | the 386 and 486, so nearly everyone can say Y here. | 574 | the 386 and 486, so nearly everyone can say Y here. |
556 | 575 | ||
557 | config X86_MCE_INTEL | 576 | config X86_MCE_INTEL |
558 | bool "Intel MCE features" | 577 | def_bool y |
578 | prompt "Intel MCE features" | ||
559 | depends on X86_64 && X86_MCE && X86_LOCAL_APIC | 579 | depends on X86_64 && X86_MCE && X86_LOCAL_APIC |
560 | default y | ||
561 | help | 580 | help |
562 | Additional support for intel specific MCE features such as | 581 | Additional support for intel specific MCE features such as |
563 | the thermal monitor. | 582 | the thermal monitor. |
564 | 583 | ||
565 | config X86_MCE_AMD | 584 | config X86_MCE_AMD |
566 | bool "AMD MCE features" | 585 | def_bool y |
586 | prompt "AMD MCE features" | ||
567 | depends on X86_64 && X86_MCE && X86_LOCAL_APIC | 587 | depends on X86_64 && X86_MCE && X86_LOCAL_APIC |
568 | default y | ||
569 | help | 588 | help |
570 | Additional support for AMD specific MCE features such as | 589 | Additional support for AMD specific MCE features such as |
571 | the DRAM Error Threshold. | 590 | the DRAM Error Threshold. |
@@ -638,9 +657,9 @@ config I8K | |||
638 | Say N otherwise. | 657 | Say N otherwise. |
639 | 658 | ||
640 | config X86_REBOOTFIXUPS | 659 | config X86_REBOOTFIXUPS |
641 | bool "Enable X86 board specific fixups for reboot" | 660 | def_bool n |
661 | prompt "Enable X86 board specific fixups for reboot" | ||
642 | depends on X86_32 && X86 | 662 | depends on X86_32 && X86 |
643 | default n | ||
644 | ---help--- | 663 | ---help--- |
645 | This enables chipset and/or board specific fixups to be done | 664 | This enables chipset and/or board specific fixups to be done |
646 | in order to get reboot to work correctly. This is only needed on | 665 | in order to get reboot to work correctly. This is only needed on |
@@ -649,7 +668,7 @@ config X86_REBOOTFIXUPS | |||
649 | system. | 668 | system. |
650 | 669 | ||
651 | Currently, the only fixup is for the Geode machines using | 670 | Currently, the only fixup is for the Geode machines using |
652 | CS5530A and CS5536 chipsets. | 671 | CS5530A and CS5536 chipsets and the RDC R-321x SoC. |
653 | 672 | ||
654 | Say Y if you want to enable the fixup. Currently, it's safe to | 673 | Say Y if you want to enable the fixup. Currently, it's safe to |
655 | enable this option even if you don't need it. | 674 | enable this option even if you don't need it. |
@@ -673,9 +692,8 @@ config MICROCODE | |||
673 | module will be called microcode. | 692 | module will be called microcode. |
674 | 693 | ||
675 | config MICROCODE_OLD_INTERFACE | 694 | config MICROCODE_OLD_INTERFACE |
676 | bool | 695 | def_bool y |
677 | depends on MICROCODE | 696 | depends on MICROCODE |
678 | default y | ||
679 | 697 | ||
680 | config X86_MSR | 698 | config X86_MSR |
681 | tristate "/dev/cpu/*/msr - Model-specific register support" | 699 | tristate "/dev/cpu/*/msr - Model-specific register support" |
@@ -799,13 +817,12 @@ config PAGE_OFFSET | |||
799 | depends on X86_32 | 817 | depends on X86_32 |
800 | 818 | ||
801 | config HIGHMEM | 819 | config HIGHMEM |
802 | bool | 820 | def_bool y |
803 | depends on X86_32 && (HIGHMEM64G || HIGHMEM4G) | 821 | depends on X86_32 && (HIGHMEM64G || HIGHMEM4G) |
804 | default y | ||
805 | 822 | ||
806 | config X86_PAE | 823 | config X86_PAE |
807 | bool "PAE (Physical Address Extension) Support" | 824 | def_bool n |
808 | default n | 825 | prompt "PAE (Physical Address Extension) Support" |
809 | depends on X86_32 && !HIGHMEM4G | 826 | depends on X86_32 && !HIGHMEM4G |
810 | select RESOURCES_64BIT | 827 | select RESOURCES_64BIT |
811 | help | 828 | help |
@@ -837,10 +854,10 @@ comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI" | |||
837 | depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI) | 854 | depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI) |
838 | 855 | ||
839 | config K8_NUMA | 856 | config K8_NUMA |
840 | bool "Old style AMD Opteron NUMA detection" | 857 | def_bool y |
841 | depends on X86_64 && NUMA && PCI | 858 | prompt "Old style AMD Opteron NUMA detection" |
842 | default y | 859 | depends on X86_64 && NUMA && PCI |
843 | help | 860 | help |
844 | Enable K8 NUMA node topology detection. You should say Y here if | 861 | Enable K8 NUMA node topology detection. You should say Y here if |
845 | you have a multi processor AMD K8 system. This uses an old | 862 | you have a multi processor AMD K8 system. This uses an old |
846 | method to read the NUMA configuration directly from the builtin | 863 | method to read the NUMA configuration directly from the builtin |
@@ -848,10 +865,10 @@ config K8_NUMA | |||
848 | instead, which also takes priority if both are compiled in. | 865 | instead, which also takes priority if both are compiled in. |
849 | 866 | ||
850 | config X86_64_ACPI_NUMA | 867 | config X86_64_ACPI_NUMA |
851 | bool "ACPI NUMA detection" | 868 | def_bool y |
869 | prompt "ACPI NUMA detection" | ||
852 | depends on X86_64 && NUMA && ACPI && PCI | 870 | depends on X86_64 && NUMA && ACPI && PCI |
853 | select ACPI_NUMA | 871 | select ACPI_NUMA |
854 | default y | ||
855 | help | 872 | help |
856 | Enable ACPI SRAT based node topology detection. | 873 | Enable ACPI SRAT based node topology detection. |
857 | 874 | ||
@@ -865,52 +882,53 @@ config NUMA_EMU | |||
865 | 882 | ||
866 | config NODES_SHIFT | 883 | config NODES_SHIFT |
867 | int | 884 | int |
885 | range 1 15 if X86_64 | ||
868 | default "6" if X86_64 | 886 | default "6" if X86_64 |
869 | default "4" if X86_NUMAQ | 887 | default "4" if X86_NUMAQ |
870 | default "3" | 888 | default "3" |
871 | depends on NEED_MULTIPLE_NODES | 889 | depends on NEED_MULTIPLE_NODES |
872 | 890 | ||
873 | config HAVE_ARCH_BOOTMEM_NODE | 891 | config HAVE_ARCH_BOOTMEM_NODE |
874 | bool | 892 | def_bool y |
875 | depends on X86_32 && NUMA | 893 | depends on X86_32 && NUMA |
876 | default y | ||
877 | 894 | ||
878 | config ARCH_HAVE_MEMORY_PRESENT | 895 | config ARCH_HAVE_MEMORY_PRESENT |
879 | bool | 896 | def_bool y |
880 | depends on X86_32 && DISCONTIGMEM | 897 | depends on X86_32 && DISCONTIGMEM |
881 | default y | ||
882 | 898 | ||
883 | config NEED_NODE_MEMMAP_SIZE | 899 | config NEED_NODE_MEMMAP_SIZE |
884 | bool | 900 | def_bool y |
885 | depends on X86_32 && (DISCONTIGMEM || SPARSEMEM) | 901 | depends on X86_32 && (DISCONTIGMEM || SPARSEMEM) |
886 | default y | ||
887 | 902 | ||
888 | config HAVE_ARCH_ALLOC_REMAP | 903 | config HAVE_ARCH_ALLOC_REMAP |
889 | bool | 904 | def_bool y |
890 | depends on X86_32 && NUMA | 905 | depends on X86_32 && NUMA |
891 | default y | ||
892 | 906 | ||
893 | config ARCH_FLATMEM_ENABLE | 907 | config ARCH_FLATMEM_ENABLE |
894 | def_bool y | 908 | def_bool y |
895 | depends on (X86_32 && ARCH_SELECT_MEMORY_MODEL && X86_PC) || (X86_64 && !NUMA) | 909 | depends on X86_32 && ARCH_SELECT_MEMORY_MODEL && X86_PC && !NUMA |
896 | 910 | ||
897 | config ARCH_DISCONTIGMEM_ENABLE | 911 | config ARCH_DISCONTIGMEM_ENABLE |
898 | def_bool y | 912 | def_bool y |
899 | depends on NUMA | 913 | depends on NUMA && X86_32 |
900 | 914 | ||
901 | config ARCH_DISCONTIGMEM_DEFAULT | 915 | config ARCH_DISCONTIGMEM_DEFAULT |
902 | def_bool y | 916 | def_bool y |
903 | depends on NUMA | 917 | depends on NUMA && X86_32 |
918 | |||
919 | config ARCH_SPARSEMEM_DEFAULT | ||
920 | def_bool y | ||
921 | depends on X86_64 | ||
904 | 922 | ||
905 | config ARCH_SPARSEMEM_ENABLE | 923 | config ARCH_SPARSEMEM_ENABLE |
906 | def_bool y | 924 | def_bool y |
907 | depends on NUMA || (EXPERIMENTAL && (X86_PC || X86_64)) | 925 | depends on X86_64 || NUMA || (EXPERIMENTAL && X86_PC) |
908 | select SPARSEMEM_STATIC if X86_32 | 926 | select SPARSEMEM_STATIC if X86_32 |
909 | select SPARSEMEM_VMEMMAP_ENABLE if X86_64 | 927 | select SPARSEMEM_VMEMMAP_ENABLE if X86_64 |
910 | 928 | ||
911 | config ARCH_SELECT_MEMORY_MODEL | 929 | config ARCH_SELECT_MEMORY_MODEL |
912 | def_bool y | 930 | def_bool y |
913 | depends on X86_32 && ARCH_SPARSEMEM_ENABLE | 931 | depends on ARCH_SPARSEMEM_ENABLE |
914 | 932 | ||
915 | config ARCH_MEMORY_PROBE | 933 | config ARCH_MEMORY_PROBE |
916 | def_bool X86_64 | 934 | def_bool X86_64 |
@@ -988,42 +1006,32 @@ config MTRR | |||
988 | See <file:Documentation/mtrr.txt> for more information. | 1006 | See <file:Documentation/mtrr.txt> for more information. |
989 | 1007 | ||
990 | config EFI | 1008 | config EFI |
991 | bool "Boot from EFI support" | 1009 | def_bool n |
992 | depends on X86_32 && ACPI | 1010 | prompt "EFI runtime service support" |
993 | default n | 1011 | depends on ACPI |
994 | ---help--- | 1012 | ---help--- |
995 | This enables the kernel to boot on EFI platforms using | 1013 | This enables the kernel to use EFI runtime services that are |
996 | system configuration information passed to it from the firmware. | ||
997 | This also enables the kernel to use any EFI runtime services that are | ||
998 | available (such as the EFI variable services). | 1014 | available (such as the EFI variable services). |
999 | 1015 | ||
1000 | This option is only useful on systems that have EFI firmware | 1016 | This option is only useful on systems that have EFI firmware. |
1001 | and will result in a kernel image that is ~8k larger. In addition, | 1017 | In addition, you should use the latest ELILO loader available |
1002 | you must use the latest ELILO loader available at | 1018 | at <http://elilo.sourceforge.net> in order to take advantage |
1003 | <http://elilo.sourceforge.net> in order to take advantage of | 1019 | of EFI runtime services. However, even with this option, the |
1004 | kernel initialization using EFI information (neither GRUB nor LILO know | 1020 | resultant kernel should continue to boot on existing non-EFI |
1005 | anything about EFI). However, even with this option, the resultant | 1021 | platforms. |
1006 | kernel should continue to boot on existing non-EFI platforms. | ||
1007 | 1022 | ||
1008 | config IRQBALANCE | 1023 | config IRQBALANCE |
1009 | bool "Enable kernel irq balancing" | 1024 | def_bool y |
1025 | prompt "Enable kernel irq balancing" | ||
1010 | depends on X86_32 && SMP && X86_IO_APIC | 1026 | depends on X86_32 && SMP && X86_IO_APIC |
1011 | default y | ||
1012 | help | 1027 | help |
1013 | The default yes will allow the kernel to do irq load balancing. | 1028 | The default yes will allow the kernel to do irq load balancing. |
1014 | Saying no will keep the kernel from doing irq load balancing. | 1029 | Saying no will keep the kernel from doing irq load balancing. |
1015 | 1030 | ||
1016 | # turning this on wastes a bunch of space. | ||
1017 | # Summit needs it only when NUMA is on | ||
1018 | config BOOT_IOREMAP | ||
1019 | bool | ||
1020 | depends on X86_32 && (((X86_SUMMIT || X86_GENERICARCH) && NUMA) || (X86 && EFI)) | ||
1021 | default y | ||
1022 | |||
1023 | config SECCOMP | 1031 | config SECCOMP |
1024 | bool "Enable seccomp to safely compute untrusted bytecode" | 1032 | def_bool y |
1033 | prompt "Enable seccomp to safely compute untrusted bytecode" | ||
1025 | depends on PROC_FS | 1034 | depends on PROC_FS |
1026 | default y | ||
1027 | help | 1035 | help |
1028 | This kernel feature is useful for number crunching applications | 1036 | This kernel feature is useful for number crunching applications |
1029 | that may need to compute untrusted bytecode during their | 1037 | that may need to compute untrusted bytecode during their |
@@ -1190,11 +1198,11 @@ config HOTPLUG_CPU | |||
1190 | suspend. | 1198 | suspend. |
1191 | 1199 | ||
1192 | config COMPAT_VDSO | 1200 | config COMPAT_VDSO |
1193 | bool "Compat VDSO support" | 1201 | def_bool y |
1194 | default y | 1202 | prompt "Compat VDSO support" |
1195 | depends on X86_32 | 1203 | depends on X86_32 || IA32_EMULATION |
1196 | help | 1204 | help |
1197 | Map the VDSO to the predictable old-style address too. | 1205 | Map the 32-bit VDSO to the predictable old-style address too. |
1198 | ---help--- | 1206 | ---help--- |
1199 | Say N here if you are running a sufficiently recent glibc | 1207 | Say N here if you are running a sufficiently recent glibc |
1200 | version (2.3.3 or later), to remove the high-mapped | 1208 | version (2.3.3 or later), to remove the high-mapped |
@@ -1208,30 +1216,26 @@ config ARCH_ENABLE_MEMORY_HOTPLUG | |||
1208 | def_bool y | 1216 | def_bool y |
1209 | depends on X86_64 || (X86_32 && HIGHMEM) | 1217 | depends on X86_64 || (X86_32 && HIGHMEM) |
1210 | 1218 | ||
1211 | config MEMORY_HOTPLUG_RESERVE | ||
1212 | def_bool X86_64 | ||
1213 | depends on (MEMORY_HOTPLUG && DISCONTIGMEM) | ||
1214 | |||
1215 | config HAVE_ARCH_EARLY_PFN_TO_NID | 1219 | config HAVE_ARCH_EARLY_PFN_TO_NID |
1216 | def_bool X86_64 | 1220 | def_bool X86_64 |
1217 | depends on NUMA | 1221 | depends on NUMA |
1218 | 1222 | ||
1219 | config OUT_OF_LINE_PFN_TO_PAGE | ||
1220 | def_bool X86_64 | ||
1221 | depends on DISCONTIGMEM | ||
1222 | |||
1223 | menu "Power management options" | 1223 | menu "Power management options" |
1224 | depends on !X86_VOYAGER | 1224 | depends on !X86_VOYAGER |
1225 | 1225 | ||
1226 | config ARCH_HIBERNATION_HEADER | 1226 | config ARCH_HIBERNATION_HEADER |
1227 | bool | 1227 | def_bool y |
1228 | depends on X86_64 && HIBERNATION | 1228 | depends on X86_64 && HIBERNATION |
1229 | default y | ||
1230 | 1229 | ||
1231 | source "kernel/power/Kconfig" | 1230 | source "kernel/power/Kconfig" |
1232 | 1231 | ||
1233 | source "drivers/acpi/Kconfig" | 1232 | source "drivers/acpi/Kconfig" |
1234 | 1233 | ||
1234 | config X86_APM_BOOT | ||
1235 | bool | ||
1236 | default y | ||
1237 | depends on APM || APM_MODULE | ||
1238 | |||
1235 | menuconfig APM | 1239 | menuconfig APM |
1236 | tristate "APM (Advanced Power Management) BIOS support" | 1240 | tristate "APM (Advanced Power Management) BIOS support" |
1237 | depends on X86_32 && PM_SLEEP && !X86_VISWS | 1241 | depends on X86_32 && PM_SLEEP && !X86_VISWS |
@@ -1372,7 +1376,7 @@ menu "Bus options (PCI etc.)" | |||
1372 | config PCI | 1376 | config PCI |
1373 | bool "PCI support" if !X86_VISWS | 1377 | bool "PCI support" if !X86_VISWS |
1374 | depends on !X86_VOYAGER | 1378 | depends on !X86_VOYAGER |
1375 | default y if X86_VISWS | 1379 | default y |
1376 | select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC) | 1380 | select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC) |
1377 | help | 1381 | help |
1378 | Find out whether you have a PCI motherboard. PCI is the name of a | 1382 | Find out whether you have a PCI motherboard. PCI is the name of a |
@@ -1380,11 +1384,6 @@ config PCI | |||
1380 | your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or | 1384 | your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or |
1381 | VESA. If you have PCI, say Y, otherwise N. | 1385 | VESA. If you have PCI, say Y, otherwise N. |
1382 | 1386 | ||
1383 | The PCI-HOWTO, available from | ||
1384 | <http://www.tldp.org/docs.html#howto>, contains valuable | ||
1385 | information about which PCI hardware does work under Linux and which | ||
1386 | doesn't. | ||
1387 | |||
1388 | choice | 1387 | choice |
1389 | prompt "PCI access mode" | 1388 | prompt "PCI access mode" |
1390 | depends on X86_32 && PCI && !X86_VISWS | 1389 | depends on X86_32 && PCI && !X86_VISWS |
@@ -1419,25 +1418,21 @@ config PCI_GOANY | |||
1419 | endchoice | 1418 | endchoice |
1420 | 1419 | ||
1421 | config PCI_BIOS | 1420 | config PCI_BIOS |
1422 | bool | 1421 | def_bool y |
1423 | depends on X86_32 && !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY) | 1422 | depends on X86_32 && !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY) |
1424 | default y | ||
1425 | 1423 | ||
1426 | # x86-64 doesn't support PCI BIOS access from long mode so always go direct. | 1424 | # x86-64 doesn't support PCI BIOS access from long mode so always go direct. |
1427 | config PCI_DIRECT | 1425 | config PCI_DIRECT |
1428 | bool | 1426 | def_bool y |
1429 | depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY) || X86_VISWS) | 1427 | depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY) || X86_VISWS) |
1430 | default y | ||
1431 | 1428 | ||
1432 | config PCI_MMCONFIG | 1429 | config PCI_MMCONFIG |
1433 | bool | 1430 | def_bool y |
1434 | depends on X86_32 && PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY) | 1431 | depends on X86_32 && PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY) |
1435 | default y | ||
1436 | 1432 | ||
1437 | config PCI_DOMAINS | 1433 | config PCI_DOMAINS |
1438 | bool | 1434 | def_bool y |
1439 | depends on PCI | 1435 | depends on PCI |
1440 | default y | ||
1441 | 1436 | ||
1442 | config PCI_MMCONFIG | 1437 | config PCI_MMCONFIG |
1443 | bool "Support mmconfig PCI config space access" | 1438 | bool "Support mmconfig PCI config space access" |
@@ -1454,9 +1449,9 @@ config DMAR | |||
1454 | remapping devices. | 1449 | remapping devices. |
1455 | 1450 | ||
1456 | config DMAR_GFX_WA | 1451 | config DMAR_GFX_WA |
1457 | bool "Support for Graphics workaround" | 1452 | def_bool y |
1453 | prompt "Support for Graphics workaround" | ||
1458 | depends on DMAR | 1454 | depends on DMAR |
1459 | default y | ||
1460 | help | 1455 | help |
1461 | Current Graphics drivers tend to use physical address | 1456 | Current Graphics drivers tend to use physical address |
1462 | for DMA and avoid using DMA APIs. Setting this config | 1457 | for DMA and avoid using DMA APIs. Setting this config |
@@ -1465,9 +1460,8 @@ config DMAR_GFX_WA | |||
1465 | to use physical addresses for DMA. | 1460 | to use physical addresses for DMA. |
1466 | 1461 | ||
1467 | config DMAR_FLOPPY_WA | 1462 | config DMAR_FLOPPY_WA |
1468 | bool | 1463 | def_bool y |
1469 | depends on DMAR | 1464 | depends on DMAR |
1470 | default y | ||
1471 | help | 1465 | help |
1472 | Floppy disk drivers are know to bypass DMA API calls | 1466 | Floppy disk drivers are know to bypass DMA API calls |
1473 | thereby failing to work when IOMMU is enabled. This | 1467 | thereby failing to work when IOMMU is enabled. This |
@@ -1480,8 +1474,7 @@ source "drivers/pci/Kconfig" | |||
1480 | 1474 | ||
1481 | # x86_64 have no ISA slots, but do have ISA-style DMA. | 1475 | # x86_64 have no ISA slots, but do have ISA-style DMA. |
1482 | config ISA_DMA_API | 1476 | config ISA_DMA_API |
1483 | bool | 1477 | def_bool y |
1484 | default y | ||
1485 | 1478 | ||
1486 | if X86_32 | 1479 | if X86_32 |
1487 | 1480 | ||
@@ -1547,9 +1540,9 @@ config SCx200HR_TIMER | |||
1547 | other workaround is idle=poll boot option. | 1540 | other workaround is idle=poll boot option. |
1548 | 1541 | ||
1549 | config GEODE_MFGPT_TIMER | 1542 | config GEODE_MFGPT_TIMER |
1550 | bool "Geode Multi-Function General Purpose Timer (MFGPT) events" | 1543 | def_bool y |
1544 | prompt "Geode Multi-Function General Purpose Timer (MFGPT) events" | ||
1551 | depends on MGEODE_LX && GENERIC_TIME && GENERIC_CLOCKEVENTS | 1545 | depends on MGEODE_LX && GENERIC_TIME && GENERIC_CLOCKEVENTS |
1552 | default y | ||
1553 | help | 1546 | help |
1554 | This driver provides a clock event source based on the MFGPT | 1547 | This driver provides a clock event source based on the MFGPT |
1555 | timer(s) in the CS5535 and CS5536 companion chip for the geode. | 1548 | timer(s) in the CS5535 and CS5536 companion chip for the geode. |
@@ -1576,6 +1569,7 @@ source "fs/Kconfig.binfmt" | |||
1576 | config IA32_EMULATION | 1569 | config IA32_EMULATION |
1577 | bool "IA32 Emulation" | 1570 | bool "IA32 Emulation" |
1578 | depends on X86_64 | 1571 | depends on X86_64 |
1572 | select COMPAT_BINFMT_ELF | ||
1579 | help | 1573 | help |
1580 | Include code to run 32-bit programs under a 64-bit kernel. You should | 1574 | Include code to run 32-bit programs under a 64-bit kernel. You should |
1581 | likely turn this on, unless you're 100% sure that you don't have any | 1575 | likely turn this on, unless you're 100% sure that you don't have any |
@@ -1588,18 +1582,16 @@ config IA32_AOUT | |||
1588 | Support old a.out binaries in the 32bit emulation. | 1582 | Support old a.out binaries in the 32bit emulation. |
1589 | 1583 | ||
1590 | config COMPAT | 1584 | config COMPAT |
1591 | bool | 1585 | def_bool y |
1592 | depends on IA32_EMULATION | 1586 | depends on IA32_EMULATION |
1593 | default y | ||
1594 | 1587 | ||
1595 | config COMPAT_FOR_U64_ALIGNMENT | 1588 | config COMPAT_FOR_U64_ALIGNMENT |
1596 | def_bool COMPAT | 1589 | def_bool COMPAT |
1597 | depends on X86_64 | 1590 | depends on X86_64 |
1598 | 1591 | ||
1599 | config SYSVIPC_COMPAT | 1592 | config SYSVIPC_COMPAT |
1600 | bool | 1593 | def_bool y |
1601 | depends on X86_64 && COMPAT && SYSVIPC | 1594 | depends on X86_64 && COMPAT && SYSVIPC |
1602 | default y | ||
1603 | 1595 | ||
1604 | endmenu | 1596 | endmenu |
1605 | 1597 | ||
@@ -1612,12 +1604,12 @@ source "drivers/firmware/Kconfig" | |||
1612 | 1604 | ||
1613 | source "fs/Kconfig" | 1605 | source "fs/Kconfig" |
1614 | 1606 | ||
1615 | source "kernel/Kconfig.instrumentation" | ||
1616 | |||
1617 | source "arch/x86/Kconfig.debug" | 1607 | source "arch/x86/Kconfig.debug" |
1618 | 1608 | ||
1619 | source "security/Kconfig" | 1609 | source "security/Kconfig" |
1620 | 1610 | ||
1621 | source "crypto/Kconfig" | 1611 | source "crypto/Kconfig" |
1622 | 1612 | ||
1613 | source "arch/x86/kvm/Kconfig" | ||
1614 | |||
1623 | source "lib/Kconfig" | 1615 | source "lib/Kconfig" |