aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig343
1 files changed, 165 insertions, 178 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 80b7ba4056d..e6728bd61cc 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
@@ -112,10 +105,18 @@ config GENERIC_TIME_VSYSCALL
112 bool 105 bool
113 default X86_64 106 default X86_64
114 107
115config ARCH_SUPPORTS_OPROFILE 108config HAVE_SETUP_PER_CPU_AREA
116 bool 109 def_bool X86_64
117 default y 110
111select HAVE_KVM
118 112
113config ARCH_HIBERNATION_POSSIBLE
114 def_bool y
115 depends on !SMP || !X86_VOYAGER
116
117config ARCH_SUSPEND_POSSIBLE
118 def_bool y
119 depends on !X86_VOYAGER
119 120
120config ZONE_DMA32 121config ZONE_DMA32
121 bool 122 bool
@@ -144,9 +145,17 @@ config GENERIC_PENDING_IRQ
144 145
145config X86_SMP 146config X86_SMP
146 bool 147 bool
147 depends on X86_32 && SMP && !X86_VOYAGER 148 depends on SMP && ((X86_32 && !X86_VOYAGER) || X86_64)
148 default y 149 default y
149 150
151config X86_32_SMP
152 def_bool y
153 depends on X86_32 && SMP
154
155config X86_64_SMP
156 def_bool y
157 depends on X86_64 && SMP
158
150config X86_HT 159config X86_HT
151 bool 160 bool
152 depends on SMP 161 depends on SMP
@@ -193,8 +202,7 @@ config SMP
193 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power 202 Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
194 Management" code will be disabled if you say Y here. 203 Management" code will be disabled if you say Y here.
195 204
196 See also the <file:Documentation/smp.txt>, 205 See also <file:Documentation/i386/IO-APIC.txt>,
197 <file:Documentation/i386/IO-APIC.txt>,
198 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at 206 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
199 <http://www.tldp.org/docs.html#howto>. 207 <http://www.tldp.org/docs.html#howto>.
200 208
@@ -292,6 +300,19 @@ config X86_ES7000
292 Only choose this option if you have such a system, otherwise you 300 Only choose this option if you have such a system, otherwise you
293 should say N here. 301 should say N here.
294 302
303config X86_RDC321X
304 bool "RDC R-321x SoC"
305 depends on X86_32
306 select M486
307 select X86_REBOOTFIXUPS
308 select GENERIC_GPIO
309 select LEDS_CLASS
310 select LEDS_GPIO
311 help
312 This option is needed for RDC R-321x system-on-chip, also known
313 as R-8610-(G).
314 If you don't have one of these chips, you should say N here.
315
295config X86_VSMP 316config X86_VSMP
296 bool "Support for ScaleMP vSMP" 317 bool "Support for ScaleMP vSMP"
297 depends on X86_64 && PCI 318 depends on X86_64 && PCI
@@ -303,8 +324,8 @@ config X86_VSMP
303endchoice 324endchoice
304 325
305config SCHED_NO_NO_OMIT_FRAME_POINTER 326config SCHED_NO_NO_OMIT_FRAME_POINTER
306 bool "Single-depth WCHAN output" 327 def_bool y
307 default y 328 prompt "Single-depth WCHAN output"
308 depends on X86_32 329 depends on X86_32
309 help 330 help
310 Calculate simpler /proc/<PID>/wchan values. If this option 331 Calculate simpler /proc/<PID>/wchan values. If this option
@@ -314,18 +335,8 @@ config SCHED_NO_NO_OMIT_FRAME_POINTER
314 335
315 If in doubt, say "Y". 336 If in doubt, say "Y".
316 337
317config PARAVIRT
318 bool
319 depends on X86_32 && !(X86_VISWS || X86_VOYAGER)
320 help
321 This changes the kernel so it can modify itself when it is run
322 under a hypervisor, potentially improving performance significantly
323 over full virtualization. However, when run without a hypervisor
324 the kernel is theoretically slower and slightly larger.
325
326menuconfig PARAVIRT_GUEST 338menuconfig PARAVIRT_GUEST
327 bool "Paravirtualized guest support" 339 bool "Paravirtualized guest support"
328 depends on X86_32
329 help 340 help
330 Say Y here to get to see options related to running Linux under 341 Say Y here to get to see options related to running Linux under
331 various hypervisors. This option alone does not add any kernel code. 342 various hypervisors. This option alone does not add any kernel code.
@@ -339,6 +350,7 @@ source "arch/x86/xen/Kconfig"
339config VMI 350config VMI
340 bool "VMI Guest support" 351 bool "VMI Guest support"
341 select PARAVIRT 352 select PARAVIRT
353 depends on X86_32
342 depends on !(X86_VISWS || X86_VOYAGER) 354 depends on !(X86_VISWS || X86_VOYAGER)
343 help 355 help
344 VMI provides a paravirtualized interface to the VMware ESX server 356 VMI provides a paravirtualized interface to the VMware ESX server
@@ -348,40 +360,43 @@ config VMI
348 360
349source "arch/x86/lguest/Kconfig" 361source "arch/x86/lguest/Kconfig"
350 362
363config PARAVIRT
364 bool "Enable paravirtualization code"
365 depends on !(X86_VISWS || X86_VOYAGER)
366 help
367 This changes the kernel so it can modify itself when it is run
368 under a hypervisor, potentially improving performance significantly
369 over full virtualization. However, when run without a hypervisor
370 the kernel is theoretically slower and slightly larger.
371
351endif 372endif
352 373
353config ACPI_SRAT 374config ACPI_SRAT
354 bool 375 def_bool y
355 default y
356 depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH) 376 depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH)
357 select ACPI_NUMA 377 select ACPI_NUMA
358 378
359config HAVE_ARCH_PARSE_SRAT 379config HAVE_ARCH_PARSE_SRAT
360 bool 380 def_bool y
361 default y 381 depends on ACPI_SRAT
362 depends on ACPI_SRAT
363 382
364config X86_SUMMIT_NUMA 383config X86_SUMMIT_NUMA
365 bool 384 def_bool y
366 default y
367 depends on X86_32 && NUMA && (X86_SUMMIT || X86_GENERICARCH) 385 depends on X86_32 && NUMA && (X86_SUMMIT || X86_GENERICARCH)
368 386
369config X86_CYCLONE_TIMER 387config X86_CYCLONE_TIMER
370 bool 388 def_bool y
371 default y
372 depends on X86_32 && X86_SUMMIT || X86_GENERICARCH 389 depends on X86_32 && X86_SUMMIT || X86_GENERICARCH
373 390
374config ES7000_CLUSTERED_APIC 391config ES7000_CLUSTERED_APIC
375 bool 392 def_bool y
376 default y
377 depends on SMP && X86_ES7000 && MPENTIUMIII 393 depends on SMP && X86_ES7000 && MPENTIUMIII
378 394
379source "arch/x86/Kconfig.cpu" 395source "arch/x86/Kconfig.cpu"
380 396
381config HPET_TIMER 397config HPET_TIMER
382 bool 398 def_bool X86_64
383 prompt "HPET Timer Support" if X86_32 399 prompt "HPET Timer Support" if X86_32
384 default X86_64
385 help 400 help
386 Use the IA-PC HPET (High Precision Event Timer) to manage 401 Use the IA-PC HPET (High Precision Event Timer) to manage
387 time in preference to the PIT and RTC, if a HPET is 402 time in preference to the PIT and RTC, if a HPET is
@@ -399,9 +414,8 @@ config HPET_TIMER
399 Choose N to continue using the legacy 8254 timer. 414 Choose N to continue using the legacy 8254 timer.
400 415
401config HPET_EMULATE_RTC 416config HPET_EMULATE_RTC
402 bool 417 def_bool y
403 depends on HPET_TIMER && RTC=y 418 depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)
404 default y
405 419
406# Mark as embedded because too many people got it wrong. 420# Mark as embedded because too many people got it wrong.
407# The code disables itself when not needed. 421# The code disables itself when not needed.
@@ -441,8 +455,8 @@ config CALGARY_IOMMU
441 If unsure, say Y. 455 If unsure, say Y.
442 456
443config CALGARY_IOMMU_ENABLED_BY_DEFAULT 457config CALGARY_IOMMU_ENABLED_BY_DEFAULT
444 bool "Should Calgary be enabled by default?" 458 def_bool y
445 default y 459 prompt "Should Calgary be enabled by default?"
446 depends on CALGARY_IOMMU 460 depends on CALGARY_IOMMU
447 help 461 help
448 Should Calgary be enabled by default? if you choose 'y', Calgary 462 Should Calgary be enabled by default? if you choose 'y', Calgary
@@ -451,6 +465,9 @@ config CALGARY_IOMMU_ENABLED_BY_DEFAULT
451 Calgary anyway, pass 'iommu=calgary' on the kernel command line. 465 Calgary anyway, pass 'iommu=calgary' on the kernel command line.
452 If unsure, say Y. 466 If unsure, say Y.
453 467
468config IOMMU_HELPER
469 def_bool (CALGARY_IOMMU || GART_IOMMU)
470
454# need this always selected by IOMMU for the VIA workaround 471# need this always selected by IOMMU for the VIA workaround
455config SWIOTLB 472config SWIOTLB
456 bool 473 bool
@@ -486,9 +503,9 @@ config SCHED_SMT
486 N here. 503 N here.
487 504
488config SCHED_MC 505config SCHED_MC
489 bool "Multi-core scheduler support" 506 def_bool y
507 prompt "Multi-core scheduler support"
490 depends on (X86_64 && SMP) || (X86_32 && X86_HT) 508 depends on (X86_64 && SMP) || (X86_32 && X86_HT)
491 default y
492 help 509 help
493 Multi-core scheduler support improves the CPU scheduler's decision 510 Multi-core scheduler support improves the CPU scheduler's decision
494 making when dealing with multi-core CPU chips at a cost of slightly 511 making when dealing with multi-core CPU chips at a cost of slightly
@@ -522,19 +539,16 @@ config X86_UP_IOAPIC
522 an IO-APIC, then the kernel will still run with no slowdown at all. 539 an IO-APIC, then the kernel will still run with no slowdown at all.
523 540
524config X86_LOCAL_APIC 541config X86_LOCAL_APIC
525 bool 542 def_bool y
526 depends on X86_64 || (X86_32 && (X86_UP_APIC || ((X86_VISWS || SMP) && !X86_VOYAGER) || X86_GENERICARCH)) 543 depends on X86_64 || (X86_32 && (X86_UP_APIC || ((X86_VISWS || SMP) && !X86_VOYAGER) || X86_GENERICARCH))
527 default y
528 544
529config X86_IO_APIC 545config X86_IO_APIC
530 bool 546 def_bool y
531 depends on X86_64 || (X86_32 && (X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER)) || X86_GENERICARCH)) 547 depends on X86_64 || (X86_32 && (X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER)) || X86_GENERICARCH))
532 default y
533 548
534config X86_VISWS_APIC 549config X86_VISWS_APIC
535 bool 550 def_bool y
536 depends on X86_32 && X86_VISWS 551 depends on X86_32 && X86_VISWS
537 default y
538 552
539config X86_MCE 553config X86_MCE
540 bool "Machine Check Exception" 554 bool "Machine Check Exception"
@@ -554,17 +568,17 @@ config X86_MCE
554 the 386 and 486, so nearly everyone can say Y here. 568 the 386 and 486, so nearly everyone can say Y here.
555 569
556config X86_MCE_INTEL 570config X86_MCE_INTEL
557 bool "Intel MCE features" 571 def_bool y
572 prompt "Intel MCE features"
558 depends on X86_64 && X86_MCE && X86_LOCAL_APIC 573 depends on X86_64 && X86_MCE && X86_LOCAL_APIC
559 default y
560 help 574 help
561 Additional support for intel specific MCE features such as 575 Additional support for intel specific MCE features such as
562 the thermal monitor. 576 the thermal monitor.
563 577
564config X86_MCE_AMD 578config X86_MCE_AMD
565 bool "AMD MCE features" 579 def_bool y
580 prompt "AMD MCE features"
566 depends on X86_64 && X86_MCE && X86_LOCAL_APIC 581 depends on X86_64 && X86_MCE && X86_LOCAL_APIC
567 default y
568 help 582 help
569 Additional support for AMD specific MCE features such as 583 Additional support for AMD specific MCE features such as
570 the DRAM Error Threshold. 584 the DRAM Error Threshold.
@@ -637,9 +651,9 @@ config I8K
637 Say N otherwise. 651 Say N otherwise.
638 652
639config X86_REBOOTFIXUPS 653config X86_REBOOTFIXUPS
640 bool "Enable X86 board specific fixups for reboot" 654 def_bool n
655 prompt "Enable X86 board specific fixups for reboot"
641 depends on X86_32 && X86 656 depends on X86_32 && X86
642 default n
643 ---help--- 657 ---help---
644 This enables chipset and/or board specific fixups to be done 658 This enables chipset and/or board specific fixups to be done
645 in order to get reboot to work correctly. This is only needed on 659 in order to get reboot to work correctly. This is only needed on
@@ -648,7 +662,7 @@ config X86_REBOOTFIXUPS
648 system. 662 system.
649 663
650 Currently, the only fixup is for the Geode machines using 664 Currently, the only fixup is for the Geode machines using
651 CS5530A and CS5536 chipsets. 665 CS5530A and CS5536 chipsets and the RDC R-321x SoC.
652 666
653 Say Y if you want to enable the fixup. Currently, it's safe to 667 Say Y if you want to enable the fixup. Currently, it's safe to
654 enable this option even if you don't need it. 668 enable this option even if you don't need it.
@@ -672,9 +686,8 @@ config MICROCODE
672 module will be called microcode. 686 module will be called microcode.
673 687
674config MICROCODE_OLD_INTERFACE 688config MICROCODE_OLD_INTERFACE
675 bool 689 def_bool y
676 depends on MICROCODE 690 depends on MICROCODE
677 default y
678 691
679config X86_MSR 692config X86_MSR
680 tristate "/dev/cpu/*/msr - Model-specific register support" 693 tristate "/dev/cpu/*/msr - Model-specific register support"
@@ -798,13 +811,12 @@ config PAGE_OFFSET
798 depends on X86_32 811 depends on X86_32
799 812
800config HIGHMEM 813config HIGHMEM
801 bool 814 def_bool y
802 depends on X86_32 && (HIGHMEM64G || HIGHMEM4G) 815 depends on X86_32 && (HIGHMEM64G || HIGHMEM4G)
803 default y
804 816
805config X86_PAE 817config X86_PAE
806 bool "PAE (Physical Address Extension) Support" 818 def_bool n
807 default n 819 prompt "PAE (Physical Address Extension) Support"
808 depends on X86_32 && !HIGHMEM4G 820 depends on X86_32 && !HIGHMEM4G
809 select RESOURCES_64BIT 821 select RESOURCES_64BIT
810 help 822 help
@@ -836,10 +848,10 @@ comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
836 depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI) 848 depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI)
837 849
838config K8_NUMA 850config K8_NUMA
839 bool "Old style AMD Opteron NUMA detection" 851 def_bool y
840 depends on X86_64 && NUMA && PCI 852 prompt "Old style AMD Opteron NUMA detection"
841 default y 853 depends on X86_64 && NUMA && PCI
842 help 854 help
843 Enable K8 NUMA node topology detection. You should say Y here if 855 Enable K8 NUMA node topology detection. You should say Y here if
844 you have a multi processor AMD K8 system. This uses an old 856 you have a multi processor AMD K8 system. This uses an old
845 method to read the NUMA configuration directly from the builtin 857 method to read the NUMA configuration directly from the builtin
@@ -847,10 +859,10 @@ config K8_NUMA
847 instead, which also takes priority if both are compiled in. 859 instead, which also takes priority if both are compiled in.
848 860
849config X86_64_ACPI_NUMA 861config X86_64_ACPI_NUMA
850 bool "ACPI NUMA detection" 862 def_bool y
863 prompt "ACPI NUMA detection"
851 depends on X86_64 && NUMA && ACPI && PCI 864 depends on X86_64 && NUMA && ACPI && PCI
852 select ACPI_NUMA 865 select ACPI_NUMA
853 default y
854 help 866 help
855 Enable ACPI SRAT based node topology detection. 867 Enable ACPI SRAT based node topology detection.
856 868
@@ -864,52 +876,53 @@ config NUMA_EMU
864 876
865config NODES_SHIFT 877config NODES_SHIFT
866 int 878 int
879 range 1 15 if X86_64
867 default "6" if X86_64 880 default "6" if X86_64
868 default "4" if X86_NUMAQ 881 default "4" if X86_NUMAQ
869 default "3" 882 default "3"
870 depends on NEED_MULTIPLE_NODES 883 depends on NEED_MULTIPLE_NODES
871 884
872config HAVE_ARCH_BOOTMEM_NODE 885config HAVE_ARCH_BOOTMEM_NODE
873 bool 886 def_bool y
874 depends on X86_32 && NUMA 887 depends on X86_32 && NUMA
875 default y
876 888
877config ARCH_HAVE_MEMORY_PRESENT 889config ARCH_HAVE_MEMORY_PRESENT
878 bool 890 def_bool y
879 depends on X86_32 && DISCONTIGMEM 891 depends on X86_32 && DISCONTIGMEM
880 default y
881 892
882config NEED_NODE_MEMMAP_SIZE 893config NEED_NODE_MEMMAP_SIZE
883 bool 894 def_bool y
884 depends on X86_32 && (DISCONTIGMEM || SPARSEMEM) 895 depends on X86_32 && (DISCONTIGMEM || SPARSEMEM)
885 default y
886 896
887config HAVE_ARCH_ALLOC_REMAP 897config HAVE_ARCH_ALLOC_REMAP
888 bool 898 def_bool y
889 depends on X86_32 && NUMA 899 depends on X86_32 && NUMA
890 default y
891 900
892config ARCH_FLATMEM_ENABLE 901config ARCH_FLATMEM_ENABLE
893 def_bool y 902 def_bool y
894 depends on (X86_32 && ARCH_SELECT_MEMORY_MODEL && X86_PC) || (X86_64 && !NUMA) 903 depends on X86_32 && ARCH_SELECT_MEMORY_MODEL && X86_PC && !NUMA
895 904
896config ARCH_DISCONTIGMEM_ENABLE 905config ARCH_DISCONTIGMEM_ENABLE
897 def_bool y 906 def_bool y
898 depends on NUMA 907 depends on NUMA && X86_32
899 908
900config ARCH_DISCONTIGMEM_DEFAULT 909config ARCH_DISCONTIGMEM_DEFAULT
901 def_bool y 910 def_bool y
902 depends on NUMA 911 depends on NUMA && X86_32
912
913config ARCH_SPARSEMEM_DEFAULT
914 def_bool y
915 depends on X86_64
903 916
904config ARCH_SPARSEMEM_ENABLE 917config ARCH_SPARSEMEM_ENABLE
905 def_bool y 918 def_bool y
906 depends on NUMA || (EXPERIMENTAL && (X86_PC || X86_64)) 919 depends on X86_64 || NUMA || (EXPERIMENTAL && X86_PC)
907 select SPARSEMEM_STATIC if X86_32 920 select SPARSEMEM_STATIC if X86_32
908 select SPARSEMEM_VMEMMAP_ENABLE if X86_64 921 select SPARSEMEM_VMEMMAP_ENABLE if X86_64
909 922
910config ARCH_SELECT_MEMORY_MODEL 923config ARCH_SELECT_MEMORY_MODEL
911 def_bool y 924 def_bool y
912 depends on X86_32 && ARCH_SPARSEMEM_ENABLE 925 depends on ARCH_SPARSEMEM_ENABLE
913 926
914config ARCH_MEMORY_PROBE 927config ARCH_MEMORY_PROBE
915 def_bool X86_64 928 def_bool X86_64
@@ -987,42 +1000,32 @@ config MTRR
987 See <file:Documentation/mtrr.txt> for more information. 1000 See <file:Documentation/mtrr.txt> for more information.
988 1001
989config EFI 1002config EFI
990 bool "Boot from EFI support" 1003 def_bool n
991 depends on X86_32 && ACPI 1004 prompt "EFI runtime service support"
992 default n 1005 depends on ACPI
993 ---help--- 1006 ---help---
994 This enables the kernel to boot on EFI platforms using 1007 This enables the kernel to use EFI runtime services that are
995 system configuration information passed to it from the firmware.
996 This also enables the kernel to use any EFI runtime services that are
997 available (such as the EFI variable services). 1008 available (such as the EFI variable services).
998 1009
999 This option is only useful on systems that have EFI firmware 1010 This option is only useful on systems that have EFI firmware.
1000 and will result in a kernel image that is ~8k larger. In addition, 1011 In addition, you should use the latest ELILO loader available
1001 you must use the latest ELILO loader available at 1012 at <http://elilo.sourceforge.net> in order to take advantage
1002 <http://elilo.sourceforge.net> in order to take advantage of 1013 of EFI runtime services. However, even with this option, the
1003 kernel initialization using EFI information (neither GRUB nor LILO know 1014 resultant kernel should continue to boot on existing non-EFI
1004 anything about EFI). However, even with this option, the resultant 1015 platforms.
1005 kernel should continue to boot on existing non-EFI platforms.
1006 1016
1007config IRQBALANCE 1017config IRQBALANCE
1008 bool "Enable kernel irq balancing" 1018 def_bool y
1019 prompt "Enable kernel irq balancing"
1009 depends on X86_32 && SMP && X86_IO_APIC 1020 depends on X86_32 && SMP && X86_IO_APIC
1010 default y
1011 help 1021 help
1012 The default yes will allow the kernel to do irq load balancing. 1022 The default yes will allow the kernel to do irq load balancing.
1013 Saying no will keep the kernel from doing irq load balancing. 1023 Saying no will keep the kernel from doing irq load balancing.
1014 1024
1015# turning this on wastes a bunch of space.
1016# Summit needs it only when NUMA is on
1017config BOOT_IOREMAP
1018 bool
1019 depends on X86_32 && (((X86_SUMMIT || X86_GENERICARCH) && NUMA) || (X86 && EFI))
1020 default y
1021
1022config SECCOMP 1025config SECCOMP
1023 bool "Enable seccomp to safely compute untrusted bytecode" 1026 def_bool y
1027 prompt "Enable seccomp to safely compute untrusted bytecode"
1024 depends on PROC_FS 1028 depends on PROC_FS
1025 default y
1026 help 1029 help
1027 This kernel feature is useful for number crunching applications 1030 This kernel feature is useful for number crunching applications
1028 that may need to compute untrusted bytecode during their 1031 that may need to compute untrusted bytecode during their
@@ -1189,11 +1192,11 @@ config HOTPLUG_CPU
1189 suspend. 1192 suspend.
1190 1193
1191config COMPAT_VDSO 1194config COMPAT_VDSO
1192 bool "Compat VDSO support" 1195 def_bool y
1193 default y 1196 prompt "Compat VDSO support"
1194 depends on X86_32 1197 depends on X86_32 || IA32_EMULATION
1195 help 1198 help
1196 Map the VDSO to the predictable old-style address too. 1199 Map the 32-bit VDSO to the predictable old-style address too.
1197 ---help--- 1200 ---help---
1198 Say N here if you are running a sufficiently recent glibc 1201 Say N here if you are running a sufficiently recent glibc
1199 version (2.3.3 or later), to remove the high-mapped 1202 version (2.3.3 or later), to remove the high-mapped
@@ -1207,30 +1210,26 @@ config ARCH_ENABLE_MEMORY_HOTPLUG
1207 def_bool y 1210 def_bool y
1208 depends on X86_64 || (X86_32 && HIGHMEM) 1211 depends on X86_64 || (X86_32 && HIGHMEM)
1209 1212
1210config MEMORY_HOTPLUG_RESERVE
1211 def_bool X86_64
1212 depends on (MEMORY_HOTPLUG && DISCONTIGMEM)
1213
1214config HAVE_ARCH_EARLY_PFN_TO_NID 1213config HAVE_ARCH_EARLY_PFN_TO_NID
1215 def_bool X86_64 1214 def_bool X86_64
1216 depends on NUMA 1215 depends on NUMA
1217 1216
1218config OUT_OF_LINE_PFN_TO_PAGE
1219 def_bool X86_64
1220 depends on DISCONTIGMEM
1221
1222menu "Power management options" 1217menu "Power management options"
1223 depends on !X86_VOYAGER 1218 depends on !X86_VOYAGER
1224 1219
1225config ARCH_HIBERNATION_HEADER 1220config ARCH_HIBERNATION_HEADER
1226 bool 1221 def_bool y
1227 depends on X86_64 && HIBERNATION 1222 depends on X86_64 && HIBERNATION
1228 default y
1229 1223
1230source "kernel/power/Kconfig" 1224source "kernel/power/Kconfig"
1231 1225
1232source "drivers/acpi/Kconfig" 1226source "drivers/acpi/Kconfig"
1233 1227
1228config X86_APM_BOOT
1229 bool
1230 default y
1231 depends on APM || APM_MODULE
1232
1234menuconfig APM 1233menuconfig APM
1235 tristate "APM (Advanced Power Management) BIOS support" 1234 tristate "APM (Advanced Power Management) BIOS support"
1236 depends on X86_32 && PM_SLEEP && !X86_VISWS 1235 depends on X86_32 && PM_SLEEP && !X86_VISWS
@@ -1371,7 +1370,7 @@ menu "Bus options (PCI etc.)"
1371config PCI 1370config PCI
1372 bool "PCI support" if !X86_VISWS 1371 bool "PCI support" if !X86_VISWS
1373 depends on !X86_VOYAGER 1372 depends on !X86_VOYAGER
1374 default y if X86_VISWS 1373 default y
1375 select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC) 1374 select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC)
1376 help 1375 help
1377 Find out whether you have a PCI motherboard. PCI is the name of a 1376 Find out whether you have a PCI motherboard. PCI is the name of a
@@ -1379,11 +1378,6 @@ config PCI
1379 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or 1378 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
1380 VESA. If you have PCI, say Y, otherwise N. 1379 VESA. If you have PCI, say Y, otherwise N.
1381 1380
1382 The PCI-HOWTO, available from
1383 <http://www.tldp.org/docs.html#howto>, contains valuable
1384 information about which PCI hardware does work under Linux and which
1385 doesn't.
1386
1387choice 1381choice
1388 prompt "PCI access mode" 1382 prompt "PCI access mode"
1389 depends on X86_32 && PCI && !X86_VISWS 1383 depends on X86_32 && PCI && !X86_VISWS
@@ -1418,25 +1412,21 @@ config PCI_GOANY
1418endchoice 1412endchoice
1419 1413
1420config PCI_BIOS 1414config PCI_BIOS
1421 bool 1415 def_bool y
1422 depends on X86_32 && !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY) 1416 depends on X86_32 && !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY)
1423 default y
1424 1417
1425# x86-64 doesn't support PCI BIOS access from long mode so always go direct. 1418# x86-64 doesn't support PCI BIOS access from long mode so always go direct.
1426config PCI_DIRECT 1419config PCI_DIRECT
1427 bool 1420 def_bool y
1428 depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY) || X86_VISWS) 1421 depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY) || X86_VISWS)
1429 default y
1430 1422
1431config PCI_MMCONFIG 1423config PCI_MMCONFIG
1432 bool 1424 def_bool y
1433 depends on X86_32 && PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY) 1425 depends on X86_32 && PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY)
1434 default y
1435 1426
1436config PCI_DOMAINS 1427config PCI_DOMAINS
1437 bool 1428 def_bool y
1438 depends on PCI 1429 depends on PCI
1439 default y
1440 1430
1441config PCI_MMCONFIG 1431config PCI_MMCONFIG
1442 bool "Support mmconfig PCI config space access" 1432 bool "Support mmconfig PCI config space access"
@@ -1453,9 +1443,9 @@ config DMAR
1453 remapping devices. 1443 remapping devices.
1454 1444
1455config DMAR_GFX_WA 1445config DMAR_GFX_WA
1456 bool "Support for Graphics workaround" 1446 def_bool y
1447 prompt "Support for Graphics workaround"
1457 depends on DMAR 1448 depends on DMAR
1458 default y
1459 help 1449 help
1460 Current Graphics drivers tend to use physical address 1450 Current Graphics drivers tend to use physical address
1461 for DMA and avoid using DMA APIs. Setting this config 1451 for DMA and avoid using DMA APIs. Setting this config
@@ -1464,9 +1454,8 @@ config DMAR_GFX_WA
1464 to use physical addresses for DMA. 1454 to use physical addresses for DMA.
1465 1455
1466config DMAR_FLOPPY_WA 1456config DMAR_FLOPPY_WA
1467 bool 1457 def_bool y
1468 depends on DMAR 1458 depends on DMAR
1469 default y
1470 help 1459 help
1471 Floppy disk drivers are know to bypass DMA API calls 1460 Floppy disk drivers are know to bypass DMA API calls
1472 thereby failing to work when IOMMU is enabled. This 1461 thereby failing to work when IOMMU is enabled. This
@@ -1479,8 +1468,7 @@ source "drivers/pci/Kconfig"
1479 1468
1480# x86_64 have no ISA slots, but do have ISA-style DMA. 1469# x86_64 have no ISA slots, but do have ISA-style DMA.
1481config ISA_DMA_API 1470config ISA_DMA_API
1482 bool 1471 def_bool y
1483 default y
1484 1472
1485if X86_32 1473if X86_32
1486 1474
@@ -1546,9 +1534,9 @@ config SCx200HR_TIMER
1546 other workaround is idle=poll boot option. 1534 other workaround is idle=poll boot option.
1547 1535
1548config GEODE_MFGPT_TIMER 1536config GEODE_MFGPT_TIMER
1549 bool "Geode Multi-Function General Purpose Timer (MFGPT) events" 1537 def_bool y
1538 prompt "Geode Multi-Function General Purpose Timer (MFGPT) events"
1550 depends on MGEODE_LX && GENERIC_TIME && GENERIC_CLOCKEVENTS 1539 depends on MGEODE_LX && GENERIC_TIME && GENERIC_CLOCKEVENTS
1551 default y
1552 help 1540 help
1553 This driver provides a clock event source based on the MFGPT 1541 This driver provides a clock event source based on the MFGPT
1554 timer(s) in the CS5535 and CS5536 companion chip for the geode. 1542 timer(s) in the CS5535 and CS5536 companion chip for the geode.
@@ -1575,6 +1563,7 @@ source "fs/Kconfig.binfmt"
1575config IA32_EMULATION 1563config IA32_EMULATION
1576 bool "IA32 Emulation" 1564 bool "IA32 Emulation"
1577 depends on X86_64 1565 depends on X86_64
1566 select COMPAT_BINFMT_ELF
1578 help 1567 help
1579 Include code to run 32-bit programs under a 64-bit kernel. You should 1568 Include code to run 32-bit programs under a 64-bit kernel. You should
1580 likely turn this on, unless you're 100% sure that you don't have any 1569 likely turn this on, unless you're 100% sure that you don't have any
@@ -1587,18 +1576,16 @@ config IA32_AOUT
1587 Support old a.out binaries in the 32bit emulation. 1576 Support old a.out binaries in the 32bit emulation.
1588 1577
1589config COMPAT 1578config COMPAT
1590 bool 1579 def_bool y
1591 depends on IA32_EMULATION 1580 depends on IA32_EMULATION
1592 default y
1593 1581
1594config COMPAT_FOR_U64_ALIGNMENT 1582config COMPAT_FOR_U64_ALIGNMENT
1595 def_bool COMPAT 1583 def_bool COMPAT
1596 depends on X86_64 1584 depends on X86_64
1597 1585
1598config SYSVIPC_COMPAT 1586config SYSVIPC_COMPAT
1599 bool 1587 def_bool y
1600 depends on X86_64 && COMPAT && SYSVIPC 1588 depends on X86_64 && COMPAT && SYSVIPC
1601 default y
1602 1589
1603endmenu 1590endmenu
1604 1591
@@ -1611,12 +1598,12 @@ source "drivers/firmware/Kconfig"
1611 1598
1612source "fs/Kconfig" 1599source "fs/Kconfig"
1613 1600
1614source "kernel/Kconfig.instrumentation"
1615
1616source "arch/x86/Kconfig.debug" 1601source "arch/x86/Kconfig.debug"
1617 1602
1618source "security/Kconfig" 1603source "security/Kconfig"
1619 1604
1620source "crypto/Kconfig" 1605source "crypto/Kconfig"
1621 1606
1607source "arch/x86/kvm/Kconfig"
1608
1622source "lib/Kconfig" 1609source "lib/Kconfig"