aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig40
1 files changed, 34 insertions, 6 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index a12dbb2b93f3..845ea2b2d487 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -25,6 +25,18 @@ config X86
25 select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64) 25 select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64)
26 select HAVE_ARCH_KGDB if !X86_VOYAGER 26 select HAVE_ARCH_KGDB if !X86_VOYAGER
27 27
28config DEFCONFIG_LIST
29 string
30 depends on X86_32
31 option defconfig_list
32 default "arch/x86/configs/i386_defconfig"
33
34config DEFCONFIG_LIST
35 string
36 depends on X86_64
37 option defconfig_list
38 default "arch/x86/configs/x86_64_defconfig"
39
28 40
29config GENERIC_LOCKBREAK 41config GENERIC_LOCKBREAK
30 def_bool n 42 def_bool n
@@ -180,7 +192,7 @@ config X86_HT
180 192
181config X86_BIOS_REBOOT 193config X86_BIOS_REBOOT
182 bool 194 bool
183 depends on X86_32 && !(X86_VISWS || X86_VOYAGER) 195 depends on !X86_VISWS && !X86_VOYAGER
184 default y 196 default y
185 197
186config X86_TRAMPOLINE 198config X86_TRAMPOLINE
@@ -537,9 +549,6 @@ config CALGARY_IOMMU_ENABLED_BY_DEFAULT
537 Calgary anyway, pass 'iommu=calgary' on the kernel command line. 549 Calgary anyway, pass 'iommu=calgary' on the kernel command line.
538 If unsure, say Y. 550 If unsure, say Y.
539 551
540config IOMMU_HELPER
541 def_bool (CALGARY_IOMMU || GART_IOMMU)
542
543# need this always selected by IOMMU for the VIA workaround 552# need this always selected by IOMMU for the VIA workaround
544config SWIOTLB 553config SWIOTLB
545 bool 554 bool
@@ -550,6 +559,8 @@ config SWIOTLB
550 access 32-bits of memory can be used on systems with more than 559 access 32-bits of memory can be used on systems with more than
551 3 GB of memory. If unsure, say Y. 560 3 GB of memory. If unsure, say Y.
552 561
562config IOMMU_HELPER
563 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB)
553 564
554config NR_CPUS 565config NR_CPUS
555 int "Maximum number of CPUs (2-255)" 566 int "Maximum number of CPUs (2-255)"
@@ -1162,7 +1173,7 @@ source kernel/Kconfig.hz
1162 1173
1163config KEXEC 1174config KEXEC
1164 bool "kexec system call" 1175 bool "kexec system call"
1165 depends on X86_64 || X86_BIOS_REBOOT 1176 depends on X86_BIOS_REBOOT
1166 help 1177 help
1167 kexec is a system call that implements the ability to shutdown your 1178 kexec is a system call that implements the ability to shutdown your
1168 current kernel, and to start another kernel. It is like a reboot 1179 current kernel, and to start another kernel. It is like a reboot
@@ -1505,6 +1516,10 @@ config PCI_GODIRECT
1505config PCI_GOANY 1516config PCI_GOANY
1506 bool "Any" 1517 bool "Any"
1507 1518
1519config PCI_GOOLPC
1520 bool "OLPC"
1521 depends on OLPC
1522
1508endchoice 1523endchoice
1509 1524
1510config PCI_BIOS 1525config PCI_BIOS
@@ -1514,12 +1529,17 @@ config PCI_BIOS
1514# x86-64 doesn't support PCI BIOS access from long mode so always go direct. 1529# x86-64 doesn't support PCI BIOS access from long mode so always go direct.
1515config PCI_DIRECT 1530config PCI_DIRECT
1516 def_bool y 1531 def_bool y
1517 depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY) || X86_VISWS) 1532 depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC) || X86_VISWS)
1518 1533
1519config PCI_MMCONFIG 1534config PCI_MMCONFIG
1520 def_bool y 1535 def_bool y
1521 depends on X86_32 && PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY) 1536 depends on X86_32 && PCI && ACPI && (PCI_GOMMCONFIG || PCI_GOANY)
1522 1537
1538config PCI_OLPC
1539 bool
1540 depends on PCI && PCI_GOOLPC
1541 default y
1542
1523config PCI_DOMAINS 1543config PCI_DOMAINS
1524 def_bool y 1544 def_bool y
1525 depends on PCI 1545 depends on PCI
@@ -1639,6 +1659,14 @@ config GEODE_MFGPT_TIMER
1639 MFGPTs have a better resolution and max interval than the 1659 MFGPTs have a better resolution and max interval than the
1640 generic PIT, and are suitable for use as high-res timers. 1660 generic PIT, and are suitable for use as high-res timers.
1641 1661
1662config OLPC
1663 bool "One Laptop Per Child support"
1664 depends on MGEODE_LX
1665 default n
1666 help
1667 Add support for detecting the unique features of the OLPC
1668 XO hardware.
1669
1642endif # X86_32 1670endif # X86_32
1643 1671
1644config K8_NB 1672config K8_NB