diff options
author | Tejun Heo <tj@kernel.org> | 2011-11-28 12:46:22 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-11-28 12:46:22 -0500 |
commit | d4bbf7e7759afc172e2bfbc5c416324590049cdd (patch) | |
tree | 7eab5ee5481cd3dcf1162329fec827177640018a /arch/x86/Kconfig | |
parent | a150439c4a97db379f0ed6faa46fbbb6e7bf3cb2 (diff) | |
parent | 401d0069cb344f401bc9d264c31db55876ff78c0 (diff) |
Merge branch 'master' into x86/memblock
Conflicts & resolutions:
* arch/x86/xen/setup.c
dc91c728fd "xen: allow extra memory to be in multiple regions"
24aa07882b "memblock, x86: Replace memblock_x86_reserve/free..."
conflicted on xen_add_extra_mem() updates. The resolution is
trivial as the latter just want to replace
memblock_x86_reserve_range() with memblock_reserve().
* drivers/pci/intel-iommu.c
166e9278a3f "x86/ia64: intel-iommu: move to drivers/iommu/"
5dfe8660a3d "bootmem: Replace work_with_active_regions() with..."
conflicted as the former moved the file under drivers/iommu/.
Resolved by applying the chnages from the latter on the moved
file.
* mm/Kconfig
6661672053a "memblock: add NO_BOOTMEM config symbol"
c378ddd53f9 "memblock, x86: Make ARCH_DISCARD_MEMBLOCK a config option"
conflicted trivially. Both added config options. Just
letting both add their own options resolves the conflict.
* mm/memblock.c
d1f0ece6cdc "mm/memblock.c: small function definition fixes"
ed7b56a799c "memblock: Remove memblock_memory_can_coalesce()"
confliected. The former updates function removed by the
latter. Resolution is trivial.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 199 |
1 files changed, 103 insertions, 96 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 28116d4f7b64..5d1514c263f8 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 |
@@ -65,13 +66,17 @@ config X86 | |||
65 | select HAVE_TEXT_POKE_SMP | 66 | select HAVE_TEXT_POKE_SMP |
66 | select HAVE_GENERIC_HARDIRQS | 67 | select HAVE_GENERIC_HARDIRQS |
67 | select HAVE_SPARSE_IRQ | 68 | select HAVE_SPARSE_IRQ |
69 | select SPARSE_IRQ | ||
68 | select GENERIC_FIND_FIRST_BIT | 70 | select GENERIC_FIND_FIRST_BIT |
69 | select GENERIC_IRQ_PROBE | 71 | select GENERIC_IRQ_PROBE |
70 | select GENERIC_PENDING_IRQ if SMP | 72 | select GENERIC_PENDING_IRQ if SMP |
71 | select GENERIC_IRQ_SHOW | 73 | select GENERIC_IRQ_SHOW |
74 | select GENERIC_CLOCKEVENTS_MIN_ADJUST | ||
72 | select IRQ_FORCED_THREADING | 75 | select IRQ_FORCED_THREADING |
73 | select USE_GENERIC_SMP_HELPERS if SMP | 76 | select USE_GENERIC_SMP_HELPERS if SMP |
74 | select HAVE_BPF_JIT if (X86_64 && NET) | 77 | select HAVE_BPF_JIT if (X86_64 && NET) |
78 | select CLKEVT_I8253 | ||
79 | select ARCH_HAVE_NMI_SAFE_CMPXCHG | ||
75 | 80 | ||
76 | config INSTRUCTION_DECODER | 81 | config INSTRUCTION_DECODER |
77 | def_bool (KPROBES || PERF_EVENTS) | 82 | def_bool (KPROBES || PERF_EVENTS) |
@@ -95,6 +100,10 @@ config CLOCKSOURCE_WATCHDOG | |||
95 | config GENERIC_CLOCKEVENTS | 100 | config GENERIC_CLOCKEVENTS |
96 | def_bool y | 101 | def_bool y |
97 | 102 | ||
103 | config ARCH_CLOCKSOURCE_DATA | ||
104 | def_bool y | ||
105 | depends on X86_64 | ||
106 | |||
98 | config GENERIC_CLOCKEVENTS_BROADCAST | 107 | config GENERIC_CLOCKEVENTS_BROADCAST |
99 | def_bool y | 108 | def_bool y |
100 | depends on X86_64 || (X86_32 && X86_LOCAL_APIC) | 109 | depends on X86_64 || (X86_32 && X86_LOCAL_APIC) |
@@ -125,7 +134,7 @@ config SBUS | |||
125 | bool | 134 | bool |
126 | 135 | ||
127 | config NEED_DMA_MAP_STATE | 136 | config NEED_DMA_MAP_STATE |
128 | def_bool (X86_64 || DMAR || DMA_API_DEBUG) | 137 | def_bool (X86_64 || INTEL_IOMMU || DMA_API_DEBUG) |
129 | 138 | ||
130 | config NEED_SG_DMA_LENGTH | 139 | config NEED_SG_DMA_LENGTH |
131 | def_bool y | 140 | def_bool y |
@@ -187,9 +196,6 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNK | |||
187 | config NEED_PER_CPU_PAGE_FIRST_CHUNK | 196 | config NEED_PER_CPU_PAGE_FIRST_CHUNK |
188 | def_bool y | 197 | def_bool y |
189 | 198 | ||
190 | config HAVE_CPUMASK_OF_CPU_MAP | ||
191 | def_bool X86_64_SMP | ||
192 | |||
193 | config ARCH_HIBERNATION_POSSIBLE | 199 | config ARCH_HIBERNATION_POSSIBLE |
194 | def_bool y | 200 | def_bool y |
195 | 201 | ||
@@ -215,7 +221,7 @@ config ARCH_SUPPORTS_DEBUG_PAGEALLOC | |||
215 | 221 | ||
216 | config HAVE_INTEL_TXT | 222 | config HAVE_INTEL_TXT |
217 | def_bool y | 223 | def_bool y |
218 | depends on EXPERIMENTAL && DMAR && ACPI | 224 | depends on EXPERIMENTAL && INTEL_IOMMU && ACPI |
219 | 225 | ||
220 | config X86_32_SMP | 226 | config X86_32_SMP |
221 | def_bool y | 227 | def_bool y |
@@ -274,7 +280,7 @@ config SMP | |||
274 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power | 280 | Y to "Enhanced Real Time Clock Support", below. The "Advanced Power |
275 | Management" code will be disabled if you say Y here. | 281 | Management" code will be disabled if you say Y here. |
276 | 282 | ||
277 | See also <file:Documentation/i386/IO-APIC.txt>, | 283 | See also <file:Documentation/x86/i386/IO-APIC.txt>, |
278 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at | 284 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at |
279 | <http://www.tldp.org/docs.html#howto>. | 285 | <http://www.tldp.org/docs.html#howto>. |
280 | 286 | ||
@@ -282,7 +288,7 @@ config SMP | |||
282 | 288 | ||
283 | config X86_X2APIC | 289 | config X86_X2APIC |
284 | bool "Support x2apic" | 290 | bool "Support x2apic" |
285 | depends on X86_LOCAL_APIC && X86_64 && INTR_REMAP | 291 | depends on X86_LOCAL_APIC && X86_64 && IRQ_REMAP |
286 | ---help--- | 292 | ---help--- |
287 | This enables x2apic support on CPUs that have this feature. | 293 | This enables x2apic support on CPUs that have this feature. |
288 | 294 | ||
@@ -386,12 +392,21 @@ config X86_INTEL_CE | |||
386 | This option compiles in support for the CE4100 SOC for settop | 392 | This option compiles in support for the CE4100 SOC for settop |
387 | boxes and media devices. | 393 | boxes and media devices. |
388 | 394 | ||
395 | config X86_INTEL_MID | ||
396 | bool "Intel MID platform support" | ||
397 | depends on X86_32 | ||
398 | depends on X86_EXTENDED_PLATFORM | ||
399 | ---help--- | ||
400 | Select to build a kernel capable of supporting Intel MID platform | ||
401 | systems which do not have the PCI legacy interfaces (Moorestown, | ||
402 | Medfield). If you are building for a PC class system say N here. | ||
403 | |||
404 | if X86_INTEL_MID | ||
405 | |||
389 | config X86_MRST | 406 | config X86_MRST |
390 | bool "Moorestown MID platform" | 407 | bool "Moorestown MID platform" |
391 | depends on PCI | 408 | depends on PCI |
392 | depends on PCI_GOANY | 409 | depends on PCI_GOANY |
393 | depends on X86_32 | ||
394 | depends on X86_EXTENDED_PLATFORM | ||
395 | depends on X86_IO_APIC | 410 | depends on X86_IO_APIC |
396 | select APB_TIMER | 411 | select APB_TIMER |
397 | select I2C | 412 | select I2C |
@@ -406,6 +421,8 @@ config X86_MRST | |||
406 | nor standard legacy replacement devices/features. e.g. Moorestown does | 421 | nor standard legacy replacement devices/features. e.g. Moorestown does |
407 | not contain i8259, i8254, HPET, legacy BIOS, most of the io ports. | 422 | not contain i8259, i8254, HPET, legacy BIOS, most of the io ports. |
408 | 423 | ||
424 | endif | ||
425 | |||
409 | config X86_RDC321X | 426 | config X86_RDC321X |
410 | bool "RDC R-321x SoC" | 427 | bool "RDC R-321x SoC" |
411 | depends on X86_32 | 428 | depends on X86_32 |
@@ -514,6 +531,18 @@ menuconfig PARAVIRT_GUEST | |||
514 | 531 | ||
515 | if PARAVIRT_GUEST | 532 | if PARAVIRT_GUEST |
516 | 533 | ||
534 | config PARAVIRT_TIME_ACCOUNTING | ||
535 | bool "Paravirtual steal time accounting" | ||
536 | select PARAVIRT | ||
537 | default n | ||
538 | ---help--- | ||
539 | Select this option to enable fine granularity task steal time | ||
540 | accounting. Time spent executing other tasks in parallel with | ||
541 | the current vCPU is discounted from the vCPU power. To account for | ||
542 | that, there can be a small performance impact. | ||
543 | |||
544 | If in doubt, say N here. | ||
545 | |||
517 | source "arch/x86/xen/Kconfig" | 546 | source "arch/x86/xen/Kconfig" |
518 | 547 | ||
519 | config KVM_CLOCK | 548 | config KVM_CLOCK |
@@ -619,6 +648,7 @@ config HPET_EMULATE_RTC | |||
619 | config APB_TIMER | 648 | config APB_TIMER |
620 | def_bool y if MRST | 649 | def_bool y if MRST |
621 | prompt "Langwell APB Timer Support" if X86_MRST | 650 | prompt "Langwell APB Timer Support" if X86_MRST |
651 | select DW_APB_TIMER | ||
622 | help | 652 | help |
623 | APB timer is the replacement for 8254, HPET on X86 MID platforms. | 653 | APB timer is the replacement for 8254, HPET on X86 MID platforms. |
624 | The APBT provides a stable time base on SMP | 654 | The APBT provides a stable time base on SMP |
@@ -682,33 +712,6 @@ config CALGARY_IOMMU_ENABLED_BY_DEFAULT | |||
682 | Calgary anyway, pass 'iommu=calgary' on the kernel command line. | 712 | Calgary anyway, pass 'iommu=calgary' on the kernel command line. |
683 | If unsure, say Y. | 713 | If unsure, say Y. |
684 | 714 | ||
685 | config AMD_IOMMU | ||
686 | bool "AMD IOMMU support" | ||
687 | select SWIOTLB | ||
688 | select PCI_MSI | ||
689 | select PCI_IOV | ||
690 | depends on X86_64 && PCI && ACPI | ||
691 | ---help--- | ||
692 | With this option you can enable support for AMD IOMMU hardware in | ||
693 | your system. An IOMMU is a hardware component which provides | ||
694 | remapping of DMA memory accesses from devices. With an AMD IOMMU you | ||
695 | can isolate the the DMA memory of different devices and protect the | ||
696 | system from misbehaving device drivers or hardware. | ||
697 | |||
698 | You can find out if your system has an AMD IOMMU if you look into | ||
699 | your BIOS for an option to enable it or if you have an IVRS ACPI | ||
700 | table. | ||
701 | |||
702 | config AMD_IOMMU_STATS | ||
703 | bool "Export AMD IOMMU statistics to debugfs" | ||
704 | depends on AMD_IOMMU | ||
705 | select DEBUG_FS | ||
706 | ---help--- | ||
707 | This option enables code in the AMD IOMMU driver to collect various | ||
708 | statistics about whats happening in the driver and exports that | ||
709 | information to userspace via debugfs. | ||
710 | If unsure, say N. | ||
711 | |||
712 | # need this always selected by IOMMU for the VIA workaround | 715 | # need this always selected by IOMMU for the VIA workaround |
713 | config SWIOTLB | 716 | config SWIOTLB |
714 | def_bool y if X86_64 | 717 | def_bool y if X86_64 |
@@ -722,9 +725,6 @@ config SWIOTLB | |||
722 | config IOMMU_HELPER | 725 | config IOMMU_HELPER |
723 | def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) | 726 | def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) |
724 | 727 | ||
725 | config IOMMU_API | ||
726 | def_bool (AMD_IOMMU || DMAR) | ||
727 | |||
728 | config MAXSMP | 728 | config MAXSMP |
729 | bool "Enable Maximum number of SMP Processors and NUMA Nodes" | 729 | bool "Enable Maximum number of SMP Processors and NUMA Nodes" |
730 | depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL | 730 | depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL |
@@ -1172,7 +1172,7 @@ comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI" | |||
1172 | config AMD_NUMA | 1172 | config AMD_NUMA |
1173 | def_bool y | 1173 | def_bool y |
1174 | prompt "Old style AMD Opteron NUMA detection" | 1174 | prompt "Old style AMD Opteron NUMA detection" |
1175 | depends on NUMA && PCI | 1175 | depends on X86_64 && NUMA && PCI |
1176 | ---help--- | 1176 | ---help--- |
1177 | Enable AMD NUMA node topology detection. You should say Y here if | 1177 | Enable AMD NUMA node topology detection. You should say Y here if |
1178 | you have a multi processor AMD system. This uses an old method to | 1178 | you have a multi processor AMD system. This uses an old method to |
@@ -1453,6 +1453,15 @@ config ARCH_USES_PG_UNCACHED | |||
1453 | def_bool y | 1453 | def_bool y |
1454 | depends on X86_PAT | 1454 | depends on X86_PAT |
1455 | 1455 | ||
1456 | config ARCH_RANDOM | ||
1457 | def_bool y | ||
1458 | prompt "x86 architectural random number generator" if EXPERT | ||
1459 | ---help--- | ||
1460 | Enable the x86 architectural RDRAND instruction | ||
1461 | (Intel Bull Mountain technology) to generate random numbers. | ||
1462 | If supported, this is a high bandwidth, cryptographically | ||
1463 | secure hardware random number generator. | ||
1464 | |||
1456 | config EFI | 1465 | config EFI |
1457 | bool "EFI runtime service support" | 1466 | bool "EFI runtime service support" |
1458 | depends on ACPI | 1467 | depends on ACPI |
@@ -1739,8 +1748,8 @@ menuconfig APM | |||
1739 | machines with more than one CPU. | 1748 | machines with more than one CPU. |
1740 | 1749 | ||
1741 | In order to use APM, you will need supporting software. For location | 1750 | In order to use APM, you will need supporting software. For location |
1742 | and more information, read <file:Documentation/power/pm.txt> and the | 1751 | and more information, read <file:Documentation/power/apm-acpi.txt> |
1743 | Battery Powered Linux mini-HOWTO, available from | 1752 | and the Battery Powered Linux mini-HOWTO, available from |
1744 | <http://www.tldp.org/docs.html#howto>. | 1753 | <http://www.tldp.org/docs.html#howto>. |
1745 | 1754 | ||
1746 | This driver does not spin down disk drives (see the hdparm(8) | 1755 | This driver does not spin down disk drives (see the hdparm(8) |
@@ -1907,7 +1916,7 @@ config PCI_BIOS | |||
1907 | # x86-64 doesn't support PCI BIOS access from long mode so always go direct. | 1916 | # x86-64 doesn't support PCI BIOS access from long mode so always go direct. |
1908 | config PCI_DIRECT | 1917 | config PCI_DIRECT |
1909 | def_bool y | 1918 | def_bool y |
1910 | depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC)) | 1919 | depends on PCI && (X86_64 || (PCI_GODIRECT || PCI_GOANY || PCI_GOOLPC || PCI_GOMMCONFIG)) |
1911 | 1920 | ||
1912 | config PCI_MMCONFIG | 1921 | config PCI_MMCONFIG |
1913 | def_bool y | 1922 | def_bool y |
@@ -1944,55 +1953,6 @@ config PCI_CNB20LE_QUIRK | |||
1944 | 1953 | ||
1945 | You should say N unless you know you need this. | 1954 | You should say N unless you know you need this. |
1946 | 1955 | ||
1947 | config DMAR | ||
1948 | bool "Support for DMA Remapping Devices (EXPERIMENTAL)" | ||
1949 | depends on PCI_MSI && ACPI && EXPERIMENTAL | ||
1950 | help | ||
1951 | DMA remapping (DMAR) devices support enables independent address | ||
1952 | translations for Direct Memory Access (DMA) from devices. | ||
1953 | These DMA remapping devices are reported via ACPI tables | ||
1954 | and include PCI device scope covered by these DMA | ||
1955 | remapping devices. | ||
1956 | |||
1957 | config DMAR_DEFAULT_ON | ||
1958 | def_bool y | ||
1959 | prompt "Enable DMA Remapping Devices by default" | ||
1960 | depends on DMAR | ||
1961 | help | ||
1962 | Selecting this option will enable a DMAR device at boot time if | ||
1963 | one is found. If this option is not selected, DMAR support can | ||
1964 | be enabled by passing intel_iommu=on to the kernel. It is | ||
1965 | recommended you say N here while the DMAR code remains | ||
1966 | experimental. | ||
1967 | |||
1968 | config DMAR_BROKEN_GFX_WA | ||
1969 | bool "Workaround broken graphics drivers (going away soon)" | ||
1970 | depends on DMAR && BROKEN | ||
1971 | ---help--- | ||
1972 | Current Graphics drivers tend to use physical address | ||
1973 | for DMA and avoid using DMA APIs. Setting this config | ||
1974 | option permits the IOMMU driver to set a unity map for | ||
1975 | all the OS-visible memory. Hence the driver can continue | ||
1976 | to use physical addresses for DMA, at least until this | ||
1977 | option is removed in the 2.6.32 kernel. | ||
1978 | |||
1979 | config DMAR_FLOPPY_WA | ||
1980 | def_bool y | ||
1981 | depends on DMAR | ||
1982 | ---help--- | ||
1983 | Floppy disk drivers are known to bypass DMA API calls | ||
1984 | thereby failing to work when IOMMU is enabled. This | ||
1985 | workaround will setup a 1:1 mapping for the first | ||
1986 | 16MiB to make floppy (an ISA device) work. | ||
1987 | |||
1988 | config INTR_REMAP | ||
1989 | bool "Support for Interrupt Remapping (EXPERIMENTAL)" | ||
1990 | depends on X86_64 && X86_IO_APIC && PCI_MSI && ACPI && EXPERIMENTAL | ||
1991 | ---help--- | ||
1992 | Supports Interrupt remapping for IO-APIC and MSI devices. | ||
1993 | To use x2apic mode in the CPU's which support x2APIC enhancements or | ||
1994 | to support platforms with CPU's having > 8 bit APIC ID, say Y. | ||
1995 | |||
1996 | source "drivers/pci/pcie/Kconfig" | 1956 | source "drivers/pci/pcie/Kconfig" |
1997 | 1957 | ||
1998 | source "drivers/pci/Kconfig" | 1958 | source "drivers/pci/Kconfig" |
@@ -2075,11 +2035,58 @@ config OLPC | |||
2075 | Add support for detecting the unique features of the OLPC | 2035 | Add support for detecting the unique features of the OLPC |
2076 | XO hardware. | 2036 | XO hardware. |
2077 | 2037 | ||
2078 | config OLPC_XO1 | 2038 | config OLPC_XO1_PM |
2079 | tristate "OLPC XO-1 support" | 2039 | bool "OLPC XO-1 Power Management" |
2080 | depends on OLPC && MFD_CS5535 | 2040 | depends on OLPC && MFD_CS5535 && PM_SLEEP |
2041 | select MFD_CORE | ||
2042 | ---help--- | ||
2043 | Add support for poweroff and suspend of the OLPC XO-1 laptop. | ||
2044 | |||
2045 | config OLPC_XO1_RTC | ||
2046 | bool "OLPC XO-1 Real Time Clock" | ||
2047 | depends on OLPC_XO1_PM && RTC_DRV_CMOS | ||
2048 | ---help--- | ||
2049 | Add support for the XO-1 real time clock, which can be used as a | ||
2050 | programmable wakeup source. | ||
2051 | |||
2052 | config OLPC_XO1_SCI | ||
2053 | bool "OLPC XO-1 SCI extras" | ||
2054 | depends on OLPC && OLPC_XO1_PM | ||
2055 | select POWER_SUPPLY | ||
2056 | select GPIO_CS5535 | ||
2057 | select MFD_CORE | ||
2058 | ---help--- | ||
2059 | Add support for SCI-based features of the OLPC XO-1 laptop: | ||
2060 | - EC-driven system wakeups | ||
2061 | - Power button | ||
2062 | - Ebook switch | ||
2063 | - Lid switch | ||
2064 | - AC adapter status updates | ||
2065 | - Battery status updates | ||
2066 | |||
2067 | config OLPC_XO15_SCI | ||
2068 | bool "OLPC XO-1.5 SCI extras" | ||
2069 | depends on OLPC && ACPI | ||
2070 | select POWER_SUPPLY | ||
2071 | ---help--- | ||
2072 | Add support for SCI-based features of the OLPC XO-1.5 laptop: | ||
2073 | - EC-driven system wakeups | ||
2074 | - AC adapter status updates | ||
2075 | - Battery status updates | ||
2076 | |||
2077 | config ALIX | ||
2078 | bool "PCEngines ALIX System Support (LED setup)" | ||
2079 | select GPIOLIB | ||
2081 | ---help--- | 2080 | ---help--- |
2082 | Add support for non-essential features of the OLPC XO-1 laptop. | 2081 | This option enables system support for the PCEngines ALIX. |
2082 | At present this just sets up LEDs for GPIO control on | ||
2083 | ALIX2/3/6 boards. However, other system specific setup should | ||
2084 | get added here. | ||
2085 | |||
2086 | Note: You must still enable the drivers for GPIO and LED support | ||
2087 | (GPIO_CS5535 & LEDS_GPIO) to actually use the LEDs | ||
2088 | |||
2089 | Note: You have to set alix.force=1 for boards with Award BIOS. | ||
2083 | 2090 | ||
2084 | endif # X86_32 | 2091 | endif # X86_32 |
2085 | 2092 | ||