@@ -172,91 +172,7 @@ config AMD_IOMMU_DEBUGFS
172
172
This option is -NOT- intended for production environments, and should
173
173
not generally be enabled.
174
174
175
- # Intel IOMMU support
176
- config DMAR_TABLE
177
- bool
178
-
179
- config INTEL_IOMMU
180
- bool "Support for Intel IOMMU using DMA Remapping Devices"
181
- depends on PCI_MSI && ACPI && (X86 || IA64)
182
- select IOMMU_API
183
- select IOMMU_IOVA
184
- select NEED_DMA_MAP_STATE
185
- select DMAR_TABLE
186
- select SWIOTLB
187
- select IOASID
188
- help
189
- DMA remapping (DMAR) devices support enables independent address
190
- translations for Direct Memory Access (DMA) from devices.
191
- These DMA remapping devices are reported via ACPI tables
192
- and include PCI device scope covered by these DMA
193
- remapping devices.
194
-
195
- config INTEL_IOMMU_DEBUGFS
196
- bool "Export Intel IOMMU internals in Debugfs"
197
- depends on INTEL_IOMMU && IOMMU_DEBUGFS
198
- help
199
- !!!WARNING!!!
200
-
201
- DO NOT ENABLE THIS OPTION UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!!!
202
-
203
- Expose Intel IOMMU internals in Debugfs.
204
-
205
- This option is -NOT- intended for production environments, and should
206
- only be enabled for debugging Intel IOMMU.
207
-
208
- config INTEL_IOMMU_SVM
209
- bool "Support for Shared Virtual Memory with Intel IOMMU"
210
- depends on INTEL_IOMMU && X86_64
211
- select PCI_PASID
212
- select PCI_PRI
213
- select MMU_NOTIFIER
214
- select IOASID
215
- help
216
- Shared Virtual Memory (SVM) provides a facility for devices
217
- to access DMA resources through process address space by
218
- means of a Process Address Space ID (PASID).
219
-
220
- config INTEL_IOMMU_DEFAULT_ON
221
- def_bool y
222
- prompt "Enable Intel DMA Remapping Devices by default"
223
- depends on INTEL_IOMMU
224
- help
225
- Selecting this option will enable a DMAR device at boot time if
226
- one is found. If this option is not selected, DMAR support can
227
- be enabled by passing intel_iommu=on to the kernel.
228
-
229
- config INTEL_IOMMU_BROKEN_GFX_WA
230
- bool "Workaround broken graphics drivers (going away soon)"
231
- depends on INTEL_IOMMU && BROKEN && X86
232
- help
233
- Current Graphics drivers tend to use physical address
234
- for DMA and avoid using DMA APIs. Setting this config
235
- option permits the IOMMU driver to set a unity map for
236
- all the OS-visible memory. Hence the driver can continue
237
- to use physical addresses for DMA, at least until this
238
- option is removed in the 2.6.32 kernel.
239
-
240
- config INTEL_IOMMU_FLOPPY_WA
241
- def_bool y
242
- depends on INTEL_IOMMU && X86
243
- help
244
- Floppy disk drivers are known to bypass DMA API calls
245
- thereby failing to work when IOMMU is enabled. This
246
- workaround will setup a 1:1 mapping for the first
247
- 16MiB to make floppy (an ISA device) work.
248
-
249
- config INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON
250
- bool "Enable Intel IOMMU scalable mode by default"
251
- depends on INTEL_IOMMU
252
- help
253
- Selecting this option will enable by default the scalable mode if
254
- hardware presents the capability. The scalable mode is defined in
255
- VT-d 3.0. The scalable mode capability could be checked by reading
256
- /sys/devices/virtual/iommu/dmar*/intel-iommu/ecap. If this option
257
- is not selected, scalable mode support could also be enabled by
258
- passing intel_iommu=sm_on to the kernel. If not sure, please use
259
- the default value.
175
+ source "drivers/iommu/intel/Kconfig"
260
176
261
177
config IRQ_REMAP
262
178
bool "Support for Interrupt Remapping"
0 commit comments