aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig87
1 files changed, 7 insertions, 80 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 10ce62f17ea1..c3e03e46bc64 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 75
74config INSTRUCTION_DECODER 76config INSTRUCTION_DECODER
75 def_bool (KPROBES || PERF_EVENTS) 77 def_bool (KPROBES || PERF_EVENTS)
@@ -93,6 +95,10 @@ config CLOCKSOURCE_WATCHDOG
93config GENERIC_CLOCKEVENTS 95config GENERIC_CLOCKEVENTS
94 def_bool y 96 def_bool y
95 97
98config ARCH_CLOCKSOURCE_DATA
99 def_bool y
100 depends on X86_64
101
96config GENERIC_CLOCKEVENTS_BROADCAST 102config GENERIC_CLOCKEVENTS_BROADCAST
97 def_bool y 103 def_bool y
98 depends on X86_64 || (X86_32 && X86_LOCAL_APIC) 104 depends on X86_64 || (X86_32 && X86_LOCAL_APIC)
@@ -681,33 +687,6 @@ config CALGARY_IOMMU_ENABLED_BY_DEFAULT
681 Calgary anyway, pass 'iommu=calgary' on the kernel command line. 687 Calgary anyway, pass 'iommu=calgary' on the kernel command line.
682 If unsure, say Y. 688 If unsure, say Y.
683 689
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 690# need this always selected by IOMMU for the VIA workaround
712config SWIOTLB 691config SWIOTLB
713 def_bool y if X86_64 692 def_bool y if X86_64
@@ -721,9 +700,6 @@ config SWIOTLB
721config IOMMU_HELPER 700config IOMMU_HELPER
722 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU) 701 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU)
723 702
724config IOMMU_API
725 def_bool (AMD_IOMMU || DMAR)
726
727config MAXSMP 703config MAXSMP
728 bool "Enable Maximum number of SMP Processors and NUMA Nodes" 704 bool "Enable Maximum number of SMP Processors and NUMA Nodes"
729 depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL 705 depends on X86_64 && SMP && DEBUG_KERNEL && EXPERIMENTAL
@@ -1171,7 +1147,7 @@ comment "NUMA (Summit) requires SMP, 64GB highmem support, ACPI"
1171config AMD_NUMA 1147config AMD_NUMA
1172 def_bool y 1148 def_bool y
1173 prompt "Old style AMD Opteron NUMA detection" 1149 prompt "Old style AMD Opteron NUMA detection"
1174 depends on NUMA && PCI 1150 depends on X86_64 && NUMA && PCI
1175 ---help--- 1151 ---help---
1176 Enable AMD NUMA node topology detection. You should say Y here if 1152 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 1153 you have a multi processor AMD system. This uses an old method to
@@ -1943,55 +1919,6 @@ config PCI_CNB20LE_QUIRK
1943 1919
1944 You should say N unless you know you need this. 1920 You should say N unless you know you need this.
1945 1921
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" 1922source "drivers/pci/pcie/Kconfig"
1996 1923
1997source "drivers/pci/Kconfig" 1924source "drivers/pci/Kconfig"