aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig164
1 files changed, 74 insertions, 90 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index a680a60898de..6a47bb22657f 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -20,6 +20,7 @@ config X86
20 select HAVE_UNSTABLE_SCHED_CLOCK 20 select HAVE_UNSTABLE_SCHED_CLOCK
21 select HAVE_IDE 21 select HAVE_IDE
22 select HAVE_OPROFILE 22 select HAVE_OPROFILE
23 select HAVE_PCSPKR_PLATFORM
23 select HAVE_PERF_EVENTS 24 select HAVE_PERF_EVENTS
24 select HAVE_IRQ_WORK 25 select HAVE_IRQ_WORK
25 select HAVE_IOREMAP_PROT 26 select HAVE_IOREMAP_PROT
@@ -70,6 +71,7 @@ config X86
70 select IRQ_FORCED_THREADING 71 select IRQ_FORCED_THREADING
71 select USE_GENERIC_SMP_HELPERS if SMP 72 select USE_GENERIC_SMP_HELPERS if SMP
72 select HAVE_BPF_JIT if (X86_64 && NET) 73 select HAVE_BPF_JIT if (X86_64 && NET)
74 select CLKEVT_I8253
73 select ARCH_HAVE_NMI_SAFE_CMPXCHG 75 select ARCH_HAVE_NMI_SAFE_CMPXCHG
74 76
75config INSTRUCTION_DECODER 77config INSTRUCTION_DECODER
@@ -94,6 +96,10 @@ config CLOCKSOURCE_WATCHDOG
94config GENERIC_CLOCKEVENTS 96config GENERIC_CLOCKEVENTS
95 def_bool y 97 def_bool y
96 98
99config ARCH_CLOCKSOURCE_DATA
100 def_bool y
101 depends on X86_64
102
97config GENERIC_CLOCKEVENTS_BROADCAST 103config GENERIC_CLOCKEVENTS_BROADCAST
98 def_bool y 104 def_bool y
99 depends on X86_64 || (X86_32 && X86_LOCAL_APIC) 105 depends on X86_64 || (X86_32 && X86_LOCAL_APIC)
@@ -385,12 +391,21 @@ config X86_INTEL_CE
385 This option compiles in support for the CE4100 SOC for settop 391 This option compiles in support for the CE4100 SOC for settop
386 boxes and media devices. 392 boxes and media devices.
387 393
394config X86_INTEL_MID
395 bool "Intel MID platform support"
396 depends on X86_32
397 depends on X86_EXTENDED_PLATFORM
398 ---help---
399 Select to build a kernel capable of supporting Intel MID platform
400 systems which do not have the PCI legacy interfaces (Moorestown,
401 Medfield). If you are building for a PC class system say N here.
402
403if X86_INTEL_MID
404
388config X86_MRST 405config X86_MRST
389 bool "Moorestown MID platform" 406 bool "Moorestown MID platform"
390 depends on PCI 407 depends on PCI
391 depends on PCI_GOANY 408 depends on PCI_GOANY
392 depends on X86_32
393 depends on X86_EXTENDED_PLATFORM
394 depends on X86_IO_APIC 409 depends on X86_IO_APIC
395 select APB_TIMER 410 select APB_TIMER
396 select I2C 411 select I2C
@@ -405,6 +420,8 @@ config X86_MRST
405 nor standard legacy replacement devices/features. e.g. Moorestown does 420 nor standard legacy replacement devices/features. e.g. Moorestown does
406 not contain i8259, i8254, HPET, legacy BIOS, most of the io ports. 421 not contain i8259, i8254, HPET, legacy BIOS, most of the io ports.
407 422
423endif
424
408config X86_RDC321X 425config X86_RDC321X
409 bool "RDC R-321x SoC" 426 bool "RDC R-321x SoC"
410 depends on X86_32 427 depends on X86_32
@@ -513,6 +530,18 @@ menuconfig PARAVIRT_GUEST
513 530
514if PARAVIRT_GUEST 531if PARAVIRT_GUEST
515 532
533config PARAVIRT_TIME_ACCOUNTING
534 bool "Paravirtual steal time accounting"
535 select PARAVIRT
536 default n
537 ---help---
538 Select this option to enable fine granularity task steal time
539 accounting. Time spent executing other tasks in parallel with
540 the current vCPU is discounted from the vCPU power. To account for
541 that, there can be a small performance impact.
542
543 If in doubt, say N here.
544
516source "arch/x86/xen/Kconfig" 545source "arch/x86/xen/Kconfig"
517 546
518config KVM_CLOCK 547config KVM_CLOCK
@@ -618,6 +647,7 @@ config HPET_EMULATE_RTC
618config APB_TIMER 647config APB_TIMER
619 def_bool y if MRST 648 def_bool y if MRST
620 prompt "Langwell APB Timer Support" if X86_MRST 649 prompt "Langwell APB Timer Support" if X86_MRST
650 select DW_APB_TIMER
621 help 651 help
622 APB timer is the replacement for 8254, HPET on X86 MID platforms. 652 APB timer is the replacement for 8254, HPET on X86 MID platforms.
623 The APBT provides a stable time base on SMP 653 The APBT provides a stable time base on SMP
@@ -681,33 +711,6 @@ config CALGARY_IOMMU_ENABLED_BY_DEFAULT
681 Calgary anyway, pass 'iommu=calgary' on the kernel command line. 711 Calgary anyway, pass 'iommu=calgary' on the kernel command line.
682 If unsure, say Y. 712 If unsure, say Y.
683 713
684config AMD_IOMMU
685 bool "AMD IOMMU support"
686 select SWIOTLB
687 select PCI_MSI
688 select PCI_IOV
689 depends on X86_64 && PCI && ACPI
690 ---help---
691 With this option you can enable support for AMD IOMMU hardware in
692 your system. An IOMMU is a hardware component which provides
693 remapping of DMA memory accesses from devices. With an AMD IOMMU you
694 can isolate the the DMA memory of different devices and protect the
695 system from misbehaving device drivers or hardware.
696
697 You can find out if your system has an AMD IOMMU if you look into
698 your BIOS for an option to enable it or if you have an IVRS ACPI
699 table.
700
701config AMD_IOMMU_STATS
702 bool "Export AMD IOMMU statistics to debugfs"
703 depends on AMD_IOMMU
704 select DEBUG_FS
705 ---help---
706 This option enables code in the AMD IOMMU driver to collect various
707 statistics about whats happening in the driver and exports that
708 information to userspace via debugfs.
709 If unsure, say N.
710
711# need this always selected by IOMMU for the VIA workaround 714# need this always selected by IOMMU for the VIA workaround
712config SWIOTLB 715config SWIOTLB
713 def_bool y if X86_64 716 def_bool y if X86_64
@@ -721,9 +724,6 @@ config SWIOTLB
721config IOMMU_HELPER 724config IOMMU_HELPER
722 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) 725 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU)
723 726
724config IOMMU_API
725 def_bool (AMD_IOMMU || DMAR)
726
727config MAXSMP 727config MAXSMP
728 bool "Enable Maximum number of SMP Processors and NUMA Nodes" 728 bool "Enable Maximum number of SMP Processors and NUMA Nodes"
729 depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL 729 depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL
@@ -1171,7 +1171,7 @@ comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
1171config AMD_NUMA 1171config AMD_NUMA
1172 def_bool y 1172 def_bool y
1173 prompt "Old style AMD Opteron NUMA detection" 1173 prompt "Old style AMD Opteron NUMA detection"
1174 depends on NUMA && PCI 1174 depends on X86_64 && NUMA && PCI
1175 ---help--- 1175 ---help---
1176 Enable AMD NUMA node topology detection. You should say Y here if 1176 Enable AMD NUMA node topology detection. You should say Y here if
1177 you have a multi processor AMD system. This uses an old method to 1177 you have a multi processor AMD system. This uses an old method to
@@ -1738,8 +1738,8 @@ menuconfig APM
1738 machines with more than one CPU. 1738 machines with more than one CPU.
1739 1739
1740 In order to use APM, you will need supporting software. For location 1740 In order to use APM, you will need supporting software. For location
1741 and more information, read <file:Documentation/power/pm.txt> and the 1741 and more information, read <file:Documentation/power/apm-acpi.txt>
1742 Battery Powered Linux mini-HOWTO, available from 1742 and the Battery Powered Linux mini-HOWTO, available from
1743 <http://www.tldp.org/docs.html#howto>. 1743 <http://www.tldp.org/docs.html#howto>.
1744 1744
1745 This driver does not spin down disk drives (see the hdparm(8) 1745 This driver does not spin down disk drives (see the hdparm(8)
@@ -1906,7 +1906,7 @@ config PCI_BIOS
1906# x86-64 doesn't support PCI BIOS access from long mode so always go direct. 1906# x86-64 doesn't support PCI BIOS access from long mode so always go direct.
1907config PCI_DIRECT 1907config PCI_DIRECT
1908 def_bool y 1908 def_bool y
1909 depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC)) 1909 depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC || PCI_GOMMCONFIG))
1910 1910
1911config PCI_MMCONFIG 1911config PCI_MMCONFIG
1912 def_bool y 1912 def_bool y
@@ -1943,55 +1943,6 @@ config PCI_CNB20LE_QUIRK
1943 1943
1944 You should say N unless you know you need this. 1944 You should say N unless you know you need this.
1945 1945
1946config DMAR
1947 bool "Support for DMA Remapping Devices (EXPERIMENTAL)"
1948 depends on PCI_MSI && ACPI && EXPERIMENTAL
1949 help
1950 DMA remapping (DMAR) devices support enables independent address
1951 translations for Direct Memory Access (DMA) from devices.
1952 These DMA remapping devices are reported via ACPI tables
1953 and include PCI device scope covered by these DMA
1954 remapping devices.
1955
1956config DMAR_DEFAULT_ON
1957 def_bool y
1958 prompt "Enable DMA Remapping Devices by default"
1959 depends on DMAR
1960 help
1961 Selecting this option will enable a DMAR device at boot time if
1962 one is found. If this option is not selected, DMAR support can
1963 be enabled by passing intel_iommu=on to the kernel. It is
1964 recommended you say N here while the DMAR code remains
1965 experimental.
1966
1967config DMAR_BROKEN_GFX_WA
1968 bool "Workaround broken graphics drivers (going away soon)"
1969 depends on DMAR && BROKEN
1970 ---help---
1971 Current Graphics drivers tend to use physical address
1972 for DMA and avoid using DMA APIs. Setting this config
1973 option permits the IOMMU driver to set a unity map for
1974 all the OS-visible memory. Hence the driver can continue
1975 to use physical addresses for DMA, at least until this
1976 option is removed in the 2.6.32 kernel.
1977
1978config DMAR_FLOPPY_WA
1979 def_bool y
1980 depends on DMAR
1981 ---help---
1982 Floppy disk drivers are known to bypass DMA API calls
1983 thereby failing to work when IOMMU is enabled. This
1984 workaround will setup a 1:1 mapping for the first
1985 16MiB to make floppy (an ISA device) work.
1986
1987config INTR_REMAP
1988 bool "Support for Interrupt Remapping (EXPERIMENTAL)"
1989 depends on X86_64 && X86_IO_APIC && PCI_MSI && ACPI && EXPERIMENTAL
1990 ---help---
1991 Supports Interrupt remapping for IO-APIC and MSI devices.
1992 To use x2apic mode in the CPU's which support x2APIC enhancements or
1993 to support platforms with CPU's having > 8 bit APIC ID, say Y.
1994
1995source "drivers/pci/pcie/Kconfig" 1946source "drivers/pci/pcie/Kconfig"
1996 1947
1997source "drivers/pci/Kconfig" 1948source "drivers/pci/Kconfig"
@@ -2074,11 +2025,44 @@ config OLPC
2074 Add support for detecting the unique features of the OLPC 2025 Add support for detecting the unique features of the OLPC
2075 XO hardware. 2026 XO hardware.
2076 2027
2077config OLPC_XO1 2028config OLPC_XO1_PM
2078 tristate "OLPC XO-1 support" 2029 bool "OLPC XO-1 Power Management"
2079 depends on OLPC && MFD_CS5535 2030 depends on OLPC && MFD_CS5535 && PM_SLEEP
2080 ---help--- 2031 select MFD_CORE
2081 Add support for non-essential features of the OLPC XO-1 laptop. 2032 ---help---
2033 Add support for poweroff and suspend of the OLPC XO-1 laptop.
2034
2035config OLPC_XO1_RTC
2036 bool "OLPC XO-1 Real Time Clock"
2037 depends on OLPC_XO1_PM && RTC_DRV_CMOS
2038 ---help---
2039 Add support for the XO-1 real time clock, which can be used as a
2040 programmable wakeup source.
2041
2042config OLPC_XO1_SCI
2043 bool "OLPC XO-1 SCI extras"
2044 depends on OLPC && OLPC_XO1_PM
2045 select POWER_SUPPLY
2046 select GPIO_CS5535
2047 select MFD_CORE
2048 ---help---
2049 Add support for SCI-based features of the OLPC XO-1 laptop:
2050 - EC-driven system wakeups
2051 - Power button
2052 - Ebook switch
2053 - Lid switch
2054 - AC adapter status updates
2055 - Battery status updates
2056
2057config OLPC_XO15_SCI
2058 bool "OLPC XO-1.5 SCI extras"
2059 depends on OLPC && ACPI
2060 select POWER_SUPPLY
2061 ---help---
2062 Add support for SCI-based features of the OLPC XO-1.5 laptop:
2063 - EC-driven system wakeups
2064 - AC adapter status updates
2065 - Battery status updates
2082 2066
2083endif # X86_32 2067endif # X86_32
2084 2068