diff options
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 165 |
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 | ||
74 | config INSTRUCTION_DECODER | 77 | config INSTRUCTION_DECODER |
75 | def_bool (KPROBES || PERF_EVENTS) | 78 | def_bool (KPROBES || PERF_EVENTS) |
@@ -93,6 +96,10 @@ config CLOCKSOURCE_WATCHDOG | |||
93 | config GENERIC_CLOCKEVENTS | 96 | config GENERIC_CLOCKEVENTS |
94 | def_bool y | 97 | def_bool y |
95 | 98 | ||
99 | config ARCH_CLOCKSOURCE_DATA | ||
100 | def_bool y | ||
101 | depends on X86_64 | ||
102 | |||
96 | config GENERIC_CLOCKEVENTS_BROADCAST | 103 | config 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 | ||
394 | config 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 | |||
403 | if X86_INTEL_MID | ||
404 | |||
387 | config X86_MRST | 405 | config 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 | ||
423 | endif | ||
424 | |||
407 | config X86_RDC321X | 425 | config 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 | ||
513 | if PARAVIRT_GUEST | 531 | if PARAVIRT_GUEST |
514 | 532 | ||
533 | config 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 | |||
515 | source "arch/x86/xen/Kconfig" | 545 | source "arch/x86/xen/Kconfig" |
516 | 546 | ||
517 | config KVM_CLOCK | 547 | config KVM_CLOCK |
@@ -617,6 +647,7 @@ config HPET_EMULATE_RTC | |||
617 | config APB_TIMER | 647 | config 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 | ||
683 | config 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 | |||
700 | config 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 |
711 | config SWIOTLB | 715 | config SWIOTLB |
712 | def_bool y if X86_64 | 716 | def_bool y if X86_64 |
@@ -720,9 +724,6 @@ config SWIOTLB | |||
720 | config IOMMU_HELPER | 724 | config IOMMU_HELPER |
721 | def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) | 725 | def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) |
722 | 726 | ||
723 | config IOMMU_API | ||
724 | def_bool (AMD_IOMMU || DMAR) | ||
725 | |||
726 | config MAXSMP | 727 | config 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" | |||
1170 | config AMD_NUMA | 1171 | config 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. |
1906 | config PCI_DIRECT | 1907 | config 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 | ||
1910 | config PCI_MMCONFIG | 1911 | config 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 | ||
1945 | config 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 | |||
1955 | config 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 | |||
1966 | config 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 | |||
1977 | config 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 | |||
1986 | config 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 | |||
1994 | source "drivers/pci/pcie/Kconfig" | 1946 | source "drivers/pci/pcie/Kconfig" |
1995 | 1947 | ||
1996 | source "drivers/pci/Kconfig" | 1948 | source "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 | ||
2076 | config OLPC_XO1 | 2028 | config 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 | |||
2035 | config 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 | |||
2042 | config 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 | |||
2057 | config 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 | ||
2082 | endif # X86_32 | 2067 | endif # X86_32 |
2083 | 2068 | ||