aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig165
1 files changed, 75 insertions, 90 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index da349723d411..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,8 @@ 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
75 select ARCH_HAVE_NMI_SAFE_CMPXCHG
73 76
74config INSTRUCTION_DECODER 77config INSTRUCTION_DECODER
75 def_bool (KPROBES || PERF_EVENTS) 78 def_bool (KPROBES || PERF_EVENTS)
@@ -93,6 +96,10 @@ config CLOCKSOURCE_WATCHDOG
93config GENERIC_CLOCKEVENTS 96config GENERIC_CLOCKEVENTS
94 def_bool y 97 def_bool y
95 98
99config ARCH_CLOCKSOURCE_DATA
100 def_bool y
101 depends on X86_64
102
96config GENERIC_CLOCKEVENTS_BROADCAST 103config GENERIC_CLOCKEVENTS_BROADCAST
97 def_bool y 104 def_bool y
98 depends on X86_64 || (X86_32 && X86_LOCAL_APIC) 105 depends on X86_64 || (X86_32 && X86_LOCAL_APIC)
@@ -384,12 +391,21 @@ config X86_INTEL_CE
384 This option compiles in support for the CE4100 SOC for settop 391 This option compiles in support for the CE4100 SOC for settop
385 boxes and media devices. 392 boxes and media devices.
386 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
387config X86_MRST 405config X86_MRST
388 bool "Moorestown MID platform" 406 bool "Moorestown MID platform"
389 depends on PCI 407 depends on PCI
390 depends on PCI_GOANY 408 depends on PCI_GOANY
391 depends on X86_32
392 depends on X86_EXTENDED_PLATFORM
393 depends on X86_IO_APIC 409 depends on X86_IO_APIC
394 select APB_TIMER 410 select APB_TIMER
395 select I2C 411 select I2C
@@ -404,6 +420,8 @@ config X86_MRST
404 nor standard legacy replacement devices/features. e.g. Moorestown does 420 nor standard legacy replacement devices/features. e.g. Moorestown does
405 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.
406 422
423endif
424
407config X86_RDC321X 425config X86_RDC321X
408 bool "RDC R-321x SoC" 426 bool "RDC R-321x SoC"
409 depends on X86_32 427 depends on X86_32
@@ -512,6 +530,18 @@ menuconfig PARAVIRT_GUEST
512 530
513if PARAVIRT_GUEST 531if PARAVIRT_GUEST
514 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
515source "arch/x86/xen/Kconfig" 545source "arch/x86/xen/Kconfig"
516 546
517config KVM_CLOCK 547config KVM_CLOCK
@@ -617,6 +647,7 @@ config HPET_EMULATE_RTC
617config APB_TIMER 647config APB_TIMER
618 def_bool y if MRST 648 def_bool y if MRST
619 prompt "Langwell APB Timer Support" if X86_MRST 649 prompt "Langwell APB Timer Support" if X86_MRST
650 select DW_APB_TIMER
620 help 651 help
621 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.
622 The APBT provides a stable time base on SMP 653 The APBT provides a stable time base on SMP
@@ -680,33 +711,6 @@ config CALGARY_IOMMU_ENABLED_BY_DEFAULT
680 Calgary anyway, pass 'iommu=calgary' on the kernel command line. 711 Calgary anyway, pass 'iommu=calgary' on the kernel command line.
681 If unsure, say Y. 712 If unsure, say Y.
682 713
683config AMD_IOMMU
684 bool "AMD IOMMU support"
685 select SWIOTLB
686 select PCI_MSI
687 select PCI_IOV
688 depends on X86_64 && PCI && ACPI
689 ---help---
690 With this option you can enable support for AMD IOMMU hardware in
691 your system. An IOMMU is a hardware component which provides
692 remapping of DMA memory accesses from devices. With an AMD IOMMU you
693 can isolate the the DMA memory of different devices and protect the
694 system from misbehaving device drivers or hardware.
695
696 You can find out if your system has an AMD IOMMU if you look into
697 your BIOS for an option to enable it or if you have an IVRS ACPI
698 table.
699
700config AMD_IOMMU_STATS
701 bool "Export AMD IOMMU statistics to debugfs"
702 depends on AMD_IOMMU
703 select DEBUG_FS
704 ---help---
705 This option enables code in the AMD IOMMU driver to collect various
706 statistics about whats happening in the driver and exports that
707 information to userspace via debugfs.
708 If unsure, say N.
709
710# need this always selected by IOMMU for the VIA workaround 714# need this always selected by IOMMU for the VIA workaround
711config SWIOTLB 715config SWIOTLB
712 def_bool y if X86_64 716 def_bool y if X86_64
@@ -720,9 +724,6 @@ config SWIOTLB
720config IOMMU_HELPER 724config IOMMU_HELPER
721 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) 725 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU)
722 726
723config IOMMU_API
724 def_bool (AMD_IOMMU || DMAR)
725
726config MAXSMP 727config MAXSMP
727 bool "Enable Maximum number of SMP Processors and NUMA Nodes" 728 bool "Enable Maximum number of SMP Processors and NUMA Nodes"
728 depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL 729 depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL
@@ -1170,7 +1171,7 @@ comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
1170config AMD_NUMA 1171config AMD_NUMA
1171 def_bool y 1172 def_bool y
1172 prompt "Old style AMD Opteron NUMA detection" 1173 prompt "Old style AMD Opteron NUMA detection"
1173 depends on NUMA && PCI 1174 depends on X86_64 && NUMA && PCI
1174 ---help--- 1175 ---help---
1175 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
1176 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
@@ -1737,8 +1738,8 @@ menuconfig APM
1737 machines with more than one CPU. 1738 machines with more than one CPU.
1738 1739
1739 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
1740 and more information, read <file:Documentation/power/pm.txt> and the 1741 and more information, read <file:Documentation/power/apm-acpi.txt>
1741 Battery Powered Linux mini-HOWTO, available from 1742 and the Battery Powered Linux mini-HOWTO, available from
1742 <http://www.tldp.org/docs.html#howto>. 1743 <http://www.tldp.org/docs.html#howto>.
1743 1744
1744 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)
@@ -1905,7 +1906,7 @@ config PCI_BIOS
1905# 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.
1906config PCI_DIRECT 1907config PCI_DIRECT
1907 def_bool y 1908 def_bool y
1908 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))
1909 1910
1910config PCI_MMCONFIG 1911config PCI_MMCONFIG
1911 def_bool y 1912 def_bool y
@@ -1942,55 +1943,6 @@ config PCI_CNB20LE_QUIRK
1942 1943
1943 You should say N unless you know you need this. 1944 You should say N unless you know you need this.
1944 1945
1945config DMAR
1946 bool "Support for DMA Remapping Devices (EXPERIMENTAL)"
1947 depends on PCI_MSI && ACPI && EXPERIMENTAL
1948 help
1949 DMA remapping (DMAR) devices support enables independent address
1950 translations for Direct Memory Access (DMA) from devices.
1951 These DMA remapping devices are reported via ACPI tables
1952 and include PCI device scope covered by these DMA
1953 remapping devices.
1954
1955config DMAR_DEFAULT_ON
1956 def_bool y
1957 prompt "Enable DMA Remapping Devices by default"
1958 depends on DMAR
1959 help
1960 Selecting this option will enable a DMAR device at boot time if
1961 one is found. If this option is not selected, DMAR support can
1962 be enabled by passing intel_iommu=on to the kernel. It is
1963 recommended you say N here while the DMAR code remains
1964 experimental.
1965
1966config DMAR_BROKEN_GFX_WA
1967 bool "Workaround broken graphics drivers (going away soon)"
1968 depends on DMAR && BROKEN
1969 ---help---
1970 Current Graphics drivers tend to use physical address
1971 for DMA and avoid using DMA APIs. Setting this config
1972 option permits the IOMMU driver to set a unity map for
1973 all the OS-visible memory. Hence the driver can continue
1974 to use physical addresses for DMA, at least until this
1975 option is removed in the 2.6.32 kernel.
1976
1977config DMAR_FLOPPY_WA
1978 def_bool y
1979 depends on DMAR
1980 ---help---
1981 Floppy disk drivers are known to bypass DMA API calls
1982 thereby failing to work when IOMMU is enabled. This
1983 workaround will setup a 1:1 mapping for the first
1984 16MiB to make floppy (an ISA device) work.
1985
1986config INTR_REMAP
1987 bool "Support for Interrupt Remapping (EXPERIMENTAL)"
1988 depends on X86_64 && X86_IO_APIC && PCI_MSI && ACPI && EXPERIMENTAL
1989 ---help---
1990 Supports Interrupt remapping for IO-APIC and MSI devices.
1991 To use x2apic mode in the CPU's which support x2APIC enhancements or
1992 to support platforms with CPU's having > 8 bit APIC ID, say Y.
1993
1994source "drivers/pci/pcie/Kconfig" 1946source "drivers/pci/pcie/Kconfig"
1995 1947
1996source "drivers/pci/Kconfig" 1948source "drivers/pci/Kconfig"
@@ -2073,11 +2025,44 @@ config OLPC
2073 Add support for detecting the unique features of the OLPC 2025 Add support for detecting the unique features of the OLPC
2074 XO hardware. 2026 XO hardware.
2075 2027
2076config OLPC_XO1 2028config OLPC_XO1_PM
2077 tristate "OLPC XO-1 support" 2029 bool "OLPC XO-1 Power Management"
2078 depends on OLPC && MFD_CS5535 2030 depends on OLPC && MFD_CS5535 && PM_SLEEP
2079 ---help--- 2031 select MFD_CORE
2080 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
2081 2066
2082endif # X86_32 2067endif # X86_32
2083 2068