aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig198
1 files changed, 77 insertions, 121 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index da98368f66af..fef944bb920e 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -17,81 +17,63 @@ config X86_64
17 17
18### Arch settings 18### Arch settings
19config X86 19config X86
20 bool 20 def_bool y
21 default y
22 21
23config GENERIC_TIME 22config GENERIC_TIME
24 bool 23 def_bool y
25 default y
26 24
27config GENERIC_CMOS_UPDATE 25config GENERIC_CMOS_UPDATE
28 bool 26 def_bool y
29 default y
30 27
31config CLOCKSOURCE_WATCHDOG 28config CLOCKSOURCE_WATCHDOG
32 bool 29 def_bool y
33 default y
34 30
35config GENERIC_CLOCKEVENTS 31config GENERIC_CLOCKEVENTS
36 bool 32 def_bool y
37 default y
38 33
39config GENERIC_CLOCKEVENTS_BROADCAST 34config GENERIC_CLOCKEVENTS_BROADCAST
40 bool 35 def_bool y
41 default y
42 depends on X86_64 || (X86_32 && X86_LOCAL_APIC) 36 depends on X86_64 || (X86_32 && X86_LOCAL_APIC)
43 37
44config LOCKDEP_SUPPORT 38config LOCKDEP_SUPPORT
45 bool 39 def_bool y
46 default y
47 40
48config STACKTRACE_SUPPORT 41config STACKTRACE_SUPPORT
49 bool 42 def_bool y
50 default y
51 43
52config SEMAPHORE_SLEEPERS 44config SEMAPHORE_SLEEPERS
53 bool 45 def_bool y
54 default y
55 46
56config MMU 47config MMU
57 bool 48 def_bool y
58 default y
59 49
60config ZONE_DMA 50config ZONE_DMA
61 bool 51 def_bool y
62 default y
63 52
64config QUICKLIST 53config QUICKLIST
65 bool 54 def_bool X86_32
66 default X86_32
67 55
68config SBUS 56config SBUS
69 bool 57 bool
70 58
71config GENERIC_ISA_DMA 59config GENERIC_ISA_DMA
72 bool 60 def_bool y
73 default y
74 61
75config GENERIC_IOMAP 62config GENERIC_IOMAP
76 bool 63 def_bool y
77 default y
78 64
79config GENERIC_BUG 65config GENERIC_BUG
80 bool 66 def_bool y
81 default y
82 depends on BUG 67 depends on BUG
83 68
84config GENERIC_HWEIGHT 69config GENERIC_HWEIGHT
85 bool 70 def_bool y
86 default y
87 71
88config ARCH_MAY_HAVE_PC_FDC 72config ARCH_MAY_HAVE_PC_FDC
89 bool 73 def_bool y
90 default y
91 74
92config DMI 75config DMI
93 bool 76 def_bool y
94 default y
95 77
96config RWSEM_GENERIC_SPINLOCK 78config RWSEM_GENERIC_SPINLOCK
97 def_bool !X86_XADD 79 def_bool !X86_XADD
@@ -303,8 +285,8 @@ config X86_VSMP
303endchoice 285endchoice
304 286
305config SCHED_NO_NO_OMIT_FRAME_POINTER 287config SCHED_NO_NO_OMIT_FRAME_POINTER
306 bool "Single-depth WCHAN output" 288 def_bool y
307 default y 289 prompt "Single-depth WCHAN output"
308 depends on X86_32 290 depends on X86_32
309 help 291 help
310 Calculate simpler /proc/<PID>/wchan values. If this option 292 Calculate simpler /proc/<PID>/wchan values. If this option
@@ -351,37 +333,31 @@ source "arch/x86/lguest/Kconfig"
351endif 333endif
352 334
353config ACPI_SRAT 335config ACPI_SRAT
354 bool 336 def_bool y
355 default y
356 depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH) 337 depends on X86_32 && ACPI && NUMA && (X86_SUMMIT || X86_GENERICARCH)
357 select ACPI_NUMA 338 select ACPI_NUMA
358 339
359config HAVE_ARCH_PARSE_SRAT 340config HAVE_ARCH_PARSE_SRAT
360 bool 341 def_bool y
361 default y 342 depends on ACPI_SRAT
362 depends on ACPI_SRAT
363 343
364config X86_SUMMIT_NUMA 344config X86_SUMMIT_NUMA
365 bool 345 def_bool y
366 default y
367 depends on X86_32 && NUMA && (X86_SUMMIT || X86_GENERICARCH) 346 depends on X86_32 && NUMA && (X86_SUMMIT || X86_GENERICARCH)
368 347
369config X86_CYCLONE_TIMER 348config X86_CYCLONE_TIMER
370 bool 349 def_bool y
371 default y
372 depends on X86_32 && X86_SUMMIT || X86_GENERICARCH 350 depends on X86_32 && X86_SUMMIT || X86_GENERICARCH
373 351
374config ES7000_CLUSTERED_APIC 352config ES7000_CLUSTERED_APIC
375 bool 353 def_bool y
376 default y
377 depends on SMP && X86_ES7000 && MPENTIUMIII 354 depends on SMP && X86_ES7000 && MPENTIUMIII
378 355
379source "arch/x86/Kconfig.cpu" 356source "arch/x86/Kconfig.cpu"
380 357
381config HPET_TIMER 358config HPET_TIMER
382 bool 359 def_bool X86_64
383 prompt "HPET Timer Support" if X86_32 360 prompt "HPET Timer Support" if X86_32
384 default X86_64
385 help 361 help
386 Use the IA-PC HPET (High Precision Event Timer) to manage 362 Use the IA-PC HPET (High Precision Event Timer) to manage
387 time in preference to the PIT and RTC, if a HPET is 363 time in preference to the PIT and RTC, if a HPET is
@@ -399,9 +375,8 @@ config HPET_TIMER
399 Choose N to continue using the legacy 8254 timer. 375 Choose N to continue using the legacy 8254 timer.
400 376
401config HPET_EMULATE_RTC 377config HPET_EMULATE_RTC
402 bool 378 def_bool y
403 depends on HPET_TIMER && RTC=y 379 depends on HPET_TIMER && RTC=y
404 default y
405 380
406# Mark as embedded because too many people got it wrong. 381# Mark as embedded because too many people got it wrong.
407# The code disables itself when not needed. 382# The code disables itself when not needed.
@@ -441,8 +416,8 @@ config CALGARY_IOMMU
441 If unsure, say Y. 416 If unsure, say Y.
442 417
443config CALGARY_IOMMU_ENABLED_BY_DEFAULT 418config CALGARY_IOMMU_ENABLED_BY_DEFAULT
444 bool "Should Calgary be enabled by default?" 419 def_bool y
445 default y 420 prompt "Should Calgary be enabled by default?"
446 depends on CALGARY_IOMMU 421 depends on CALGARY_IOMMU
447 help 422 help
448 Should Calgary be enabled by default? if you choose 'y', Calgary 423 Should Calgary be enabled by default? if you choose 'y', Calgary
@@ -486,9 +461,9 @@ config SCHED_SMT
486 N here. 461 N here.
487 462
488config SCHED_MC 463config SCHED_MC
489 bool "Multi-core scheduler support" 464 def_bool y
465 prompt "Multi-core scheduler support"
490 depends on (X86_64 && SMP) || (X86_32 && X86_HT) 466 depends on (X86_64 && SMP) || (X86_32 && X86_HT)
491 default y
492 help 467 help
493 Multi-core scheduler support improves the CPU scheduler's decision 468 Multi-core scheduler support improves the CPU scheduler's decision
494 making when dealing with multi-core CPU chips at a cost of slightly 469 making when dealing with multi-core CPU chips at a cost of slightly
@@ -522,19 +497,16 @@ config X86_UP_IOAPIC
522 an IO-APIC, then the kernel will still run with no slowdown at all. 497 an IO-APIC, then the kernel will still run with no slowdown at all.
523 498
524config X86_LOCAL_APIC 499config X86_LOCAL_APIC
525 bool 500 def_bool y
526 depends on X86_64 || (X86_32 && (X86_UP_APIC || ((X86_VISWS || SMP) && !X86_VOYAGER) || X86_GENERICARCH)) 501 depends on X86_64 || (X86_32 && (X86_UP_APIC || ((X86_VISWS || SMP) && !X86_VOYAGER) || X86_GENERICARCH))
527 default y
528 502
529config X86_IO_APIC 503config X86_IO_APIC
530 bool 504 def_bool y
531 depends on X86_64 || (X86_32 && (X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER)) || X86_GENERICARCH)) 505 depends on X86_64 || (X86_32 && (X86_UP_IOAPIC || (SMP && !(X86_VISWS || X86_VOYAGER)) || X86_GENERICARCH))
532 default y
533 506
534config X86_VISWS_APIC 507config X86_VISWS_APIC
535 bool 508 def_bool y
536 depends on X86_32 && X86_VISWS 509 depends on X86_32 && X86_VISWS
537 default y
538 510
539config X86_MCE 511config X86_MCE
540 bool "Machine Check Exception" 512 bool "Machine Check Exception"
@@ -554,17 +526,17 @@ config X86_MCE
554 the 386 and 486, so nearly everyone can say Y here. 526 the 386 and 486, so nearly everyone can say Y here.
555 527
556config X86_MCE_INTEL 528config X86_MCE_INTEL
557 bool "Intel MCE features" 529 def_bool y
530 prompt "Intel MCE features"
558 depends on X86_64 && X86_MCE && X86_LOCAL_APIC 531 depends on X86_64 && X86_MCE && X86_LOCAL_APIC
559 default y
560 help 532 help
561 Additional support for intel specific MCE features such as 533 Additional support for intel specific MCE features such as
562 the thermal monitor. 534 the thermal monitor.
563 535
564config X86_MCE_AMD 536config X86_MCE_AMD
565 bool "AMD MCE features" 537 def_bool y
538 prompt "AMD MCE features"
566 depends on X86_64 && X86_MCE && X86_LOCAL_APIC 539 depends on X86_64 && X86_MCE && X86_LOCAL_APIC
567 default y
568 help 540 help
569 Additional support for AMD specific MCE features such as 541 Additional support for AMD specific MCE features such as
570 the DRAM Error Threshold. 542 the DRAM Error Threshold.
@@ -637,9 +609,9 @@ config I8K
637 Say N otherwise. 609 Say N otherwise.
638 610
639config X86_REBOOTFIXUPS 611config X86_REBOOTFIXUPS
640 bool "Enable X86 board specific fixups for reboot" 612 def_bool n
613 prompt "Enable X86 board specific fixups for reboot"
641 depends on X86_32 && X86 614 depends on X86_32 && X86
642 default n
643 ---help--- 615 ---help---
644 This enables chipset and/or board specific fixups to be done 616 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 617 in order to get reboot to work correctly. This is only needed on
@@ -672,9 +644,8 @@ config MICROCODE
672 module will be called microcode. 644 module will be called microcode.
673 645
674config MICROCODE_OLD_INTERFACE 646config MICROCODE_OLD_INTERFACE
675 bool 647 def_bool y
676 depends on MICROCODE 648 depends on MICROCODE
677 default y
678 649
679config X86_MSR 650config X86_MSR
680 tristate "/dev/cpu/*/msr - Model-specific register support" 651 tristate "/dev/cpu/*/msr - Model-specific register support"
@@ -798,13 +769,12 @@ config PAGE_OFFSET
798 depends on X86_32 769 depends on X86_32
799 770
800config HIGHMEM 771config HIGHMEM
801 bool 772 def_bool y
802 depends on X86_32 && (HIGHMEM64G || HIGHMEM4G) 773 depends on X86_32 && (HIGHMEM64G || HIGHMEM4G)
803 default y
804 774
805config X86_PAE 775config X86_PAE
806 bool "PAE (Physical Address Extension) Support" 776 def_bool n
807 default n 777 prompt "PAE (Physical Address Extension) Support"
808 depends on X86_32 && !HIGHMEM4G 778 depends on X86_32 && !HIGHMEM4G
809 select RESOURCES_64BIT 779 select RESOURCES_64BIT
810 help 780 help
@@ -836,10 +806,10 @@ comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
836 depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI) 806 depends on X86_32 && X86_SUMMIT && (!HIGHMEM64G || !ACPI)
837 807
838config K8_NUMA 808config K8_NUMA
839 bool "Old style AMD Opteron NUMA detection" 809 def_bool y
840 depends on X86_64 && NUMA && PCI 810 prompt "Old style AMD Opteron NUMA detection"
841 default y 811 depends on X86_64 && NUMA && PCI
842 help 812 help
843 Enable K8 NUMA node topology detection. You should say Y here if 813 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 814 you have a multi processor AMD K8 system. This uses an old
845 method to read the NUMA configuration directly from the builtin 815 method to read the NUMA configuration directly from the builtin
@@ -847,10 +817,10 @@ config K8_NUMA
847 instead, which also takes priority if both are compiled in. 817 instead, which also takes priority if both are compiled in.
848 818
849config X86_64_ACPI_NUMA 819config X86_64_ACPI_NUMA
850 bool "ACPI NUMA detection" 820 def_bool y
821 prompt "ACPI NUMA detection"
851 depends on X86_64 && NUMA && ACPI && PCI 822 depends on X86_64 && NUMA && ACPI && PCI
852 select ACPI_NUMA 823 select ACPI_NUMA
853 default y
854 help 824 help
855 Enable ACPI SRAT based node topology detection. 825 Enable ACPI SRAT based node topology detection.
856 826
@@ -870,24 +840,20 @@ config NODES_SHIFT
870 depends on NEED_MULTIPLE_NODES 840 depends on NEED_MULTIPLE_NODES
871 841
872config HAVE_ARCH_BOOTMEM_NODE 842config HAVE_ARCH_BOOTMEM_NODE
873 bool 843 def_bool y
874 depends on X86_32 && NUMA 844 depends on X86_32 && NUMA
875 default y
876 845
877config ARCH_HAVE_MEMORY_PRESENT 846config ARCH_HAVE_MEMORY_PRESENT
878 bool 847 def_bool y
879 depends on X86_32 && DISCONTIGMEM 848 depends on X86_32 && DISCONTIGMEM
880 default y
881 849
882config NEED_NODE_MEMMAP_SIZE 850config NEED_NODE_MEMMAP_SIZE
883 bool 851 def_bool y
884 depends on X86_32 && (DISCONTIGMEM || SPARSEMEM) 852 depends on X86_32 && (DISCONTIGMEM || SPARSEMEM)
885 default y
886 853
887config HAVE_ARCH_ALLOC_REMAP 854config HAVE_ARCH_ALLOC_REMAP
888 bool 855 def_bool y
889 depends on X86_32 && NUMA 856 depends on X86_32 && NUMA
890 default y
891 857
892config ARCH_FLATMEM_ENABLE 858config ARCH_FLATMEM_ENABLE
893 def_bool y 859 def_bool y
@@ -991,9 +957,9 @@ config MTRR
991 See <file:Documentation/mtrr.txt> for more information. 957 See <file:Documentation/mtrr.txt> for more information.
992 958
993config EFI 959config EFI
994 bool "Boot from EFI support" 960 def_bool n
961 prompt "Boot from EFI support"
995 depends on X86_32 && ACPI 962 depends on X86_32 && ACPI
996 default n
997 ---help--- 963 ---help---
998 This enables the kernel to boot on EFI platforms using 964 This enables the kernel to boot on EFI platforms using
999 system configuration information passed to it from the firmware. 965 system configuration information passed to it from the firmware.
@@ -1009,9 +975,9 @@ config EFI
1009 kernel should continue to boot on existing non-EFI platforms. 975 kernel should continue to boot on existing non-EFI platforms.
1010 976
1011config IRQBALANCE 977config IRQBALANCE
1012 bool "Enable kernel irq balancing" 978 def_bool y
979 prompt "Enable kernel irq balancing"
1013 depends on X86_32 && SMP && X86_IO_APIC 980 depends on X86_32 && SMP && X86_IO_APIC
1014 default y
1015 help 981 help
1016 The default yes will allow the kernel to do irq load balancing. 982 The default yes will allow the kernel to do irq load balancing.
1017 Saying no will keep the kernel from doing irq load balancing. 983 Saying no will keep the kernel from doing irq load balancing.
@@ -1019,14 +985,13 @@ config IRQBALANCE
1019# turning this on wastes a bunch of space. 985# turning this on wastes a bunch of space.
1020# Summit needs it only when NUMA is on 986# Summit needs it only when NUMA is on
1021config BOOT_IOREMAP 987config BOOT_IOREMAP
1022 bool 988 def_bool y
1023 depends on X86_32 && (((X86_SUMMIT || X86_GENERICARCH) && NUMA) || (X86 && EFI)) 989 depends on X86_32 && (((X86_SUMMIT || X86_GENERICARCH) && NUMA) || (X86 && EFI))
1024 default y
1025 990
1026config SECCOMP 991config SECCOMP
1027 bool "Enable seccomp to safely compute untrusted bytecode" 992 def_bool y
993 prompt "Enable seccomp to safely compute untrusted bytecode"
1028 depends on PROC_FS 994 depends on PROC_FS
1029 default y
1030 help 995 help
1031 This kernel feature is useful for number crunching applications 996 This kernel feature is useful for number crunching applications
1032 that may need to compute untrusted bytecode during their 997 that may need to compute untrusted bytecode during their
@@ -1193,8 +1158,8 @@ config HOTPLUG_CPU
1193 suspend. 1158 suspend.
1194 1159
1195config COMPAT_VDSO 1160config COMPAT_VDSO
1196 bool "Compat VDSO support" 1161 def_bool y
1197 default y 1162 prompt "Compat VDSO support"
1198 depends on X86_32 || IA32_EMULATION 1163 depends on X86_32 || IA32_EMULATION
1199 help 1164 help
1200 Map the 32-bit VDSO to the predictable old-style address too. 1165 Map the 32-bit VDSO to the predictable old-style address too.
@@ -1219,9 +1184,8 @@ menu "Power management options"
1219 depends on !X86_VOYAGER 1184 depends on !X86_VOYAGER
1220 1185
1221config ARCH_HIBERNATION_HEADER 1186config ARCH_HIBERNATION_HEADER
1222 bool 1187 def_bool y
1223 depends on X86_64 && HIBERNATION 1188 depends on X86_64 && HIBERNATION
1224 default y
1225 1189
1226source "kernel/power/Kconfig" 1190source "kernel/power/Kconfig"
1227 1191
@@ -1414,25 +1378,21 @@ config PCI_GOANY
1414endchoice 1378endchoice
1415 1379
1416config PCI_BIOS 1380config PCI_BIOS
1417 bool 1381 def_bool y
1418 depends on X86_32 && !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY) 1382 depends on X86_32 && !X86_VISWS && PCI && (PCI_GOBIOS || PCI_GOANY)
1419 default y
1420 1383
1421# x86-64 doesn't support PCI BIOS access from long mode so always go direct. 1384# x86-64 doesn't support PCI BIOS access from long mode so always go direct.
1422config PCI_DIRECT 1385config PCI_DIRECT
1423 bool 1386 def_bool y
1424 depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY) || X86_VISWS) 1387 depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY) || X86_VISWS)
1425 default y
1426 1388
1427config PCI_MMCONFIG 1389config PCI_MMCONFIG
1428 bool 1390 def_bool y
1429 depends on X86_32 && PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY) 1391 depends on X86_32 && PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY)
1430 default y
1431 1392
1432config PCI_DOMAINS 1393config PCI_DOMAINS
1433 bool 1394 def_bool y
1434 depends on PCI 1395 depends on PCI
1435 default y
1436 1396
1437config PCI_MMCONFIG 1397config PCI_MMCONFIG
1438 bool "Support mmconfig PCI config space access" 1398 bool "Support mmconfig PCI config space access"
@@ -1449,9 +1409,9 @@ config DMAR
1449 remapping devices. 1409 remapping devices.
1450 1410
1451config DMAR_GFX_WA 1411config DMAR_GFX_WA
1452 bool "Support for Graphics workaround" 1412 def_bool y
1413 prompt "Support for Graphics workaround"
1453 depends on DMAR 1414 depends on DMAR
1454 default y
1455 help 1415 help
1456 Current Graphics drivers tend to use physical address 1416 Current Graphics drivers tend to use physical address
1457 for DMA and avoid using DMA APIs. Setting this config 1417 for DMA and avoid using DMA APIs. Setting this config
@@ -1460,9 +1420,8 @@ config DMAR_GFX_WA
1460 to use physical addresses for DMA. 1420 to use physical addresses for DMA.
1461 1421
1462config DMAR_FLOPPY_WA 1422config DMAR_FLOPPY_WA
1463 bool 1423 def_bool y
1464 depends on DMAR 1424 depends on DMAR
1465 default y
1466 help 1425 help
1467 Floppy disk drivers are know to bypass DMA API calls 1426 Floppy disk drivers are know to bypass DMA API calls
1468 thereby failing to work when IOMMU is enabled. This 1427 thereby failing to work when IOMMU is enabled. This
@@ -1475,8 +1434,7 @@ source "drivers/pci/Kconfig"
1475 1434
1476# x86_64 have no ISA slots, but do have ISA-style DMA. 1435# x86_64 have no ISA slots, but do have ISA-style DMA.
1477config ISA_DMA_API 1436config ISA_DMA_API
1478 bool 1437 def_bool y
1479 default y
1480 1438
1481if X86_32 1439if X86_32
1482 1440
@@ -1542,9 +1500,9 @@ config SCx200HR_TIMER
1542 other workaround is idle=poll boot option. 1500 other workaround is idle=poll boot option.
1543 1501
1544config GEODE_MFGPT_TIMER 1502config GEODE_MFGPT_TIMER
1545 bool "Geode Multi-Function General Purpose Timer (MFGPT) events" 1503 def_bool y
1504 prompt "Geode Multi-Function General Purpose Timer (MFGPT) events"
1546 depends on MGEODE_LX && GENERIC_TIME && GENERIC_CLOCKEVENTS 1505 depends on MGEODE_LX && GENERIC_TIME && GENERIC_CLOCKEVENTS
1547 default y
1548 help 1506 help
1549 This driver provides a clock event source based on the MFGPT 1507 This driver provides a clock event source based on the MFGPT
1550 timer(s) in the CS5535 and CS5536 companion chip for the geode. 1508 timer(s) in the CS5535 and CS5536 companion chip for the geode.
@@ -1583,18 +1541,16 @@ config IA32_AOUT
1583 Support old a.out binaries in the 32bit emulation. 1541 Support old a.out binaries in the 32bit emulation.
1584 1542
1585config COMPAT 1543config COMPAT
1586 bool 1544 def_bool y
1587 depends on IA32_EMULATION 1545 depends on IA32_EMULATION
1588 default y
1589 1546
1590config COMPAT_FOR_U64_ALIGNMENT 1547config COMPAT_FOR_U64_ALIGNMENT
1591 def_bool COMPAT 1548 def_bool COMPAT
1592 depends on X86_64 1549 depends on X86_64
1593 1550
1594config SYSVIPC_COMPAT 1551config SYSVIPC_COMPAT
1595 bool 1552 def_bool y
1596 depends on X86_64 && COMPAT && SYSVIPC 1553 depends on X86_64 && COMPAT && SYSVIPC
1597 default y
1598 1554
1599endmenu 1555endmenu
1600 1556