1 # IOMMU_API always gets selected by whoever wants it.
5 menuconfig IOMMU_SUPPORT
6 bool "IOMMU Hardware Support"
10 Say Y here if you want to compile device drivers for IO Memory
11 Management Units into the kernel. These devices usually allow to
12 remap DMA requests and/or remap interrupts from other devices on the
19 bool "MSM IOMMU Support"
20 depends on ARCH_MSM8X60 || ARCH_MSM8960
23 Support for the IOMMUs found on certain Qualcomm SOCs.
24 These IOMMUs allow virtualization of the address space used by most
25 cores within the multimedia subsystem.
27 If unsure, say N here.
29 config IOMMU_PGTABLES_L2
31 depends on MSM_IOMMU && MMU && SMP && CPU_DCACHE_DISABLE=n
35 bool "AMD IOMMU support"
42 depends on X86_64 && PCI && ACPI
44 With this option you can enable support for AMD IOMMU hardware in
45 your system. An IOMMU is a hardware component which provides
46 remapping of DMA memory accesses from devices. With an AMD IOMMU you
47 can isolate the the DMA memory of different devices and protect the
48 system from misbehaving device drivers or hardware.
50 You can find out if your system has an AMD IOMMU if you look into
51 your BIOS for an option to enable it or if you have an IVRS ACPI
54 config AMD_IOMMU_STATS
55 bool "Export AMD IOMMU statistics to debugfs"
59 This option enables code in the AMD IOMMU driver to collect various
60 statistics about whats happening in the driver and exports that
61 information to userspace via debugfs.
65 tristate "AMD IOMMU Version 2 driver (EXPERIMENTAL)"
66 depends on AMD_IOMMU && PROFILING && EXPERIMENTAL
69 This option enables support for the AMD IOMMUv2 features of the IOMMU
70 hardware. Select this option if you want to use devices that support
71 the the PCI PRI and PASID interface.
78 bool "Support for Intel IOMMU using DMA Remapping Devices"
79 depends on PCI_MSI && ACPI && (X86 || IA64_GENERIC)
83 DMA remapping (DMAR) devices support enables independent address
84 translations for Direct Memory Access (DMA) from devices.
85 These DMA remapping devices are reported via ACPI tables
86 and include PCI device scope covered by these DMA
89 config INTEL_IOMMU_DEFAULT_ON
91 prompt "Enable Intel DMA Remapping Devices by default"
92 depends on INTEL_IOMMU
94 Selecting this option will enable a DMAR device at boot time if
95 one is found. If this option is not selected, DMAR support can
96 be enabled by passing intel_iommu=on to the kernel.
98 config INTEL_IOMMU_BROKEN_GFX_WA
99 bool "Workaround broken graphics drivers (going away soon)"
100 depends on INTEL_IOMMU && BROKEN && X86
102 Current Graphics drivers tend to use physical address
103 for DMA and avoid using DMA APIs. Setting this config
104 option permits the IOMMU driver to set a unity map for
105 all the OS-visible memory. Hence the driver can continue
106 to use physical addresses for DMA, at least until this
107 option is removed in the 2.6.32 kernel.
109 config INTEL_IOMMU_FLOPPY_WA
111 depends on INTEL_IOMMU && X86
113 Floppy disk drivers are known to bypass DMA API calls
114 thereby failing to work when IOMMU is enabled. This
115 workaround will setup a 1:1 mapping for the first
116 16MiB to make floppy (an ISA device) work.
119 bool "Support for Interrupt Remapping (EXPERIMENTAL)"
120 depends on X86_64 && X86_IO_APIC && PCI_MSI && ACPI && EXPERIMENTAL
123 Supports Interrupt remapping for IO-APIC and MSI devices.
124 To use x2apic mode in the CPU's which support x2APIC enhancements or
125 to support platforms with CPU's having > 8 bit APIC ID, say Y.
129 bool "OMAP IOMMU Support"
134 tristate "OMAP IO Virtual Memory Manager Support"
135 depends on OMAP_IOMMU
137 config OMAP_IOMMU_DEBUG
138 tristate "Export OMAP IOMMU/IOVMM internals in DebugFS"
139 depends on OMAP_IOVMM && DEBUG_FS
141 Select this to see extensive information about
142 the internal state of OMAP IOMMU/IOVMM in debugfs.
144 Say N unless you know you need this.
146 config TEGRA_IOMMU_GART
147 bool "Tegra GART IOMMU Support"
148 depends on ARCH_TEGRA_2x_SOC
151 Enables support for remapping discontiguous physical memory
152 shared with the operating system into contiguous I/O virtual
153 space through the GART (Graphics Address Relocation Table)
154 hardware included on Tegra SoCs.
156 config TEGRA_IOMMU_SMMU
157 bool "Tegra SMMU IOMMU Support"
158 depends on ARCH_TEGRA_3x_SOC
161 Enables support for remapping discontiguous physical memory
162 shared with the operating system into contiguous I/O virtual
163 space through the SMMU (System Memory Management Unit)
164 hardware included on Tegra SoCs.
166 endif # IOMMU_SUPPORT