aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig344
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
19config X86 19config X86
20 bool 20 def_bool y
21 default y 21 select HAVE_OPROFILE
22 select HAVE_KPROBES
23
24config GENERIC_LOCKBREAK
25 def_bool n
22 26
23config GENERIC_TIME 27config GENERIC_TIME
24 bool 28 def_bool y
25 default y
26 29
27config GENERIC_CMOS_UPDATE 30config GENERIC_CMOS_UPDATE
28 bool 31 def_bool y
29 default y
30 32
31config CLOCKSOURCE_WATCHDOG 33config CLOCKSOURCE_WATCHDOG
32 bool 34 def_bool y
33 default y
34 35
35config GENERIC_CLOCKEVENTS 36config GENERIC_CLOCKEVENTS
36 bool 37 def_bool y
37 default y
38 38
39config GENERIC_CLOCKEVENTS_BROADCAST 39config 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
44config LOCKDEP_SUPPORT 43config LOCKDEP_SUPPORT
45 bool 44 def_bool y
46 default y
47 45
48config STACKTRACE_SUPPORT 46config STACKTRACE_SUPPORT
49 bool 47 def_bool y
50 default y 48
49config HAVE_LATENCYTOP_SUPPORT
50 def_bool y
51 51
52config SEMAPHORE_SLEEPERS 52config SEMAPHORE_SLEEPERS
53 bool 53 def_bool y
54 default y
55 54
56config MMU 55config MMU
57 bool 56 def_bool y
58 default y
59 57
60config ZONE_DMA 58config ZONE_DMA
61 bool 59 def_bool y
62 default y
63 60
64config QUICKLIST 61config QUICKLIST
65 bool 62 def_bool X86_32
66 default X86_32
67 63
68config SBUS 64config SBUS
69 bool 65 bool
70 66
71config GENERIC_ISA_DMA 67config GENERIC_ISA_DMA
72 bool 68 def_bool y
73 default y
74 69
75config GENERIC_IOMAP 70config GENERIC_IOMAP
76 bool 71 def_bool y
77 default y
78 72
79config GENERIC_BUG 73config GENERIC_BUG
80 bool 74 def_bool y
81 default y
82 depends on BUG 75 depends on BUG
83 76
84config GENERIC_HWEIGHT 77config GENERIC_HWEIGHT
85 bool 78 def_bool y
86 default y 79
80config GENERIC_GPIO
81 def_bool n
87 82
88config ARCH_MAY_HAVE_PC_FDC 83config ARCH_MAY_HAVE_PC_FDC
89 bool 84 def_bool y
90 default y
91 85
92config DMI 86config DMI
93 bool 87 def_bool y
94 default y
95 88
96config RWSEM_GENERIC_SPINLOCK 89config 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
111config ARCH_HAS_CPU_RELAX
112 def_bool y
113
114config HAVE_SETUP_PER_CPU_AREA
115 def_bool X86_64
118 116
117select HAVE_KVM
119 118
119config ARCH_HIBERNATION_POSSIBLE
120 def_bool y
121 depends on !SMP || !X86_VOYAGER
120 122
123config ARCH_SUSPEND_POSSIBLE
124 def_bool y
125 depends on !X86_VOYAGER
121 126
122config ZONE_DMA32 127config ZONE_DMA32
123 bool 128 bool
@@ -146,12 +151,21 @@ config GENERIC_PENDING_IRQ
146 151
147config X86_SMP 152config 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
157config X86_32_SMP
158 def_bool y
159 depends on X86_32 && SMP
160
161config X86_64_SMP
162 def_bool y
163 depends on X86_64 && SMP
164
152config X86_HT 165config 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
157config X86_BIOS_REBOOT 171config 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
309config 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
296config X86_VSMP 322config 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
304endchoice 330endchoice
305 331
306config SCHED_NO_NO_OMIT_FRAME_POINTER 332config 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
318config 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
327menuconfig PARAVIRT_GUEST 344menuconfig 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"
340config VMI 356config 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
350source "arch/x86/lguest/Kconfig" 367source "arch/x86/lguest/Kconfig"
351 368
369config 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
352endif 378endif
353 379
354config ACPI_SRAT 380config 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
360config HAVE_ARCH_PARSE_SRAT 385config 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
365config X86_SUMMIT_NUMA 389config 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
370config X86_CYCLONE_TIMER 393config 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
375config ES7000_CLUSTERED_APIC 397config 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
380source "arch/x86/Kconfig.cpu" 401source "arch/x86/Kconfig.cpu"
381 402
382config HPET_TIMER 403config 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
402config HPET_EMULATE_RTC 422config 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
444config CALGARY_IOMMU_ENABLED_BY_DEFAULT 463config 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
474config 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
456config SWIOTLB 478config SWIOTLB
457 bool 479 bool
@@ -487,9 +509,9 @@ config SCHED_SMT
487 N here. 509 N here.
488 510
489config SCHED_MC 511config 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
525config X86_LOCAL_APIC 547config 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
530config X86_IO_APIC 551config 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
535config X86_VISWS_APIC 555config 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
540config X86_MCE 559config 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
557config X86_MCE_INTEL 576config 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
565config X86_MCE_AMD 584config 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
640config X86_REBOOTFIXUPS 659config 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
675config MICROCODE_OLD_INTERFACE 694config MICROCODE_OLD_INTERFACE
676 bool 695 def_bool y
677 depends on MICROCODE 696 depends on MICROCODE
678 default y
679 697
680config X86_MSR 698config 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
801config HIGHMEM 819config 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
806config X86_PAE 823config 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
839config K8_NUMA 856config 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
850config X86_64_ACPI_NUMA 867config 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
866config NODES_SHIFT 883config 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
873config HAVE_ARCH_BOOTMEM_NODE 891config 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
878config ARCH_HAVE_MEMORY_PRESENT 895config 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
883config NEED_NODE_MEMMAP_SIZE 899config 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
888config HAVE_ARCH_ALLOC_REMAP 903config 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
893config ARCH_FLATMEM_ENABLE 907config 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
897config ARCH_DISCONTIGMEM_ENABLE 911config ARCH_DISCONTIGMEM_ENABLE
898 def_bool y 912 def_bool y
899 depends on NUMA 913 depends on NUMA && X86_32
900 914
901config ARCH_DISCONTIGMEM_DEFAULT 915config ARCH_DISCONTIGMEM_DEFAULT
902 def_bool y 916 def_bool y
903 depends on NUMA 917 depends on NUMA && X86_32
918
919config ARCH_SPARSEMEM_DEFAULT
920 def_bool y
921 depends on X86_64
904 922
905config ARCH_SPARSEMEM_ENABLE 923config 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
911config ARCH_SELECT_MEMORY_MODEL 929config 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
915config ARCH_MEMORY_PROBE 933config 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
990config EFI 1008config 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
1008config IRQBALANCE 1023config 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
1018config BOOT_IOREMAP
1019 bool
1020 depends on X86_32 && (((X86_SUMMIT || X86_GENERICARCH) && NUMA) || (X86 && EFI))
1021 default y
1022
1023config SECCOMP 1031config 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
1192config COMPAT_VDSO 1200config 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
1211config MEMORY_HOTPLUG_RESERVE
1212 def_bool X86_64
1213 depends on (MEMORY_HOTPLUG && DISCONTIGMEM)
1214
1215config HAVE_ARCH_EARLY_PFN_TO_NID 1219config 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
1219config OUT_OF_LINE_PFN_TO_PAGE
1220 def_bool X86_64
1221 depends on DISCONTIGMEM
1222
1223menu "Power management options" 1223menu "Power management options"
1224 depends on !X86_VOYAGER 1224 depends on !X86_VOYAGER
1225 1225
1226config ARCH_HIBERNATION_HEADER 1226config 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
1231source "kernel/power/Kconfig" 1230source "kernel/power/Kconfig"
1232 1231
1233source "drivers/acpi/Kconfig" 1232source "drivers/acpi/Kconfig"
1234 1233
1234config X86_APM_BOOT
1235 bool
1236 default y
1237 depends on APM || APM_MODULE
1238
1235menuconfig APM 1239menuconfig 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.)"
1372config PCI 1376config 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
1388choice 1387choice
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
1419endchoice 1418endchoice
1420 1419
1421config PCI_BIOS 1420config 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.
1427config PCI_DIRECT 1425config 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
1432config PCI_MMCONFIG 1429config 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
1437config PCI_DOMAINS 1433config PCI_DOMAINS
1438 bool 1434 def_bool y
1439 depends on PCI 1435 depends on PCI
1440 default y
1441 1436
1442config PCI_MMCONFIG 1437config 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
1456config DMAR_GFX_WA 1451config 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
1467config DMAR_FLOPPY_WA 1462config 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.
1482config ISA_DMA_API 1476config ISA_DMA_API
1483 bool 1477 def_bool y
1484 default y
1485 1478
1486if X86_32 1479if 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
1549config GEODE_MFGPT_TIMER 1542config 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"
1576config IA32_EMULATION 1569config 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
1590config COMPAT 1584config COMPAT
1591 bool 1585 def_bool y
1592 depends on IA32_EMULATION 1586 depends on IA32_EMULATION
1593 default y
1594 1587
1595config COMPAT_FOR_U64_ALIGNMENT 1588config COMPAT_FOR_U64_ALIGNMENT
1596 def_bool COMPAT 1589 def_bool COMPAT
1597 depends on X86_64 1590 depends on X86_64
1598 1591
1599config SYSVIPC_COMPAT 1592config 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
1604endmenu 1596endmenu
1605 1597
@@ -1612,12 +1604,12 @@ source "drivers/firmware/Kconfig"
1612 1604
1613source "fs/Kconfig" 1605source "fs/Kconfig"
1614 1606
1615source "kernel/Kconfig.instrumentation"
1616
1617source "arch/x86/Kconfig.debug" 1607source "arch/x86/Kconfig.debug"
1618 1608
1619source "security/Kconfig" 1609source "security/Kconfig"
1620 1610
1621source "crypto/Kconfig" 1611source "crypto/Kconfig"
1622 1612
1613source "arch/x86/kvm/Kconfig"
1614
1623source "lib/Kconfig" 1615source "lib/Kconfig"