@@ -25,9 +25,11 @@ config INTEL_IOMMU
25
25
and include PCI device scope covered by these DMA
26
26
remapping devices.
27
27
28
+ if INTEL_IOMMU
29
+
28
30
config INTEL_IOMMU_DEBUGFS
29
31
bool "Export Intel IOMMU internals in Debugfs"
30
- depends on INTEL_IOMMU && IOMMU_DEBUGFS
32
+ depends on IOMMU_DEBUGFS
31
33
select DMAR_PERF
32
34
help
33
35
!!!WARNING!!!
@@ -41,7 +43,7 @@ config INTEL_IOMMU_DEBUGFS
41
43
42
44
config INTEL_IOMMU_SVM
43
45
bool "Support for Shared Virtual Memory with Intel IOMMU"
44
- depends on INTEL_IOMMU && X86_64
46
+ depends on X86_64
45
47
select PCI_PASID
46
48
select PCI_PRI
47
49
select MMU_NOTIFIER
@@ -53,17 +55,16 @@ config INTEL_IOMMU_SVM
53
55
means of a Process Address Space ID (PASID).
54
56
55
57
config INTEL_IOMMU_DEFAULT_ON
56
- def_bool y
57
- prompt "Enable Intel DMA Remapping Devices by default"
58
- depends on INTEL_IOMMU
58
+ bool "Enable Intel DMA Remapping Devices by default"
59
+ default y
59
60
help
60
61
Selecting this option will enable a DMAR device at boot time if
61
62
one is found. If this option is not selected, DMAR support can
62
63
be enabled by passing intel_iommu=on to the kernel.
63
64
64
65
config INTEL_IOMMU_BROKEN_GFX_WA
65
66
bool "Workaround broken graphics drivers (going away soon)"
66
- depends on INTEL_IOMMU && BROKEN && X86
67
+ depends on BROKEN && X86
67
68
help
68
69
Current Graphics drivers tend to use physical address
69
70
for DMA and avoid using DMA APIs. Setting this config
@@ -74,7 +75,7 @@ config INTEL_IOMMU_BROKEN_GFX_WA
74
75
75
76
config INTEL_IOMMU_FLOPPY_WA
76
77
def_bool y
77
- depends on INTEL_IOMMU && X86
78
+ depends on X86
78
79
help
79
80
Floppy disk drivers are known to bypass DMA API calls
80
81
thereby failing to work when IOMMU is enabled. This
@@ -83,7 +84,6 @@ config INTEL_IOMMU_FLOPPY_WA
83
84
84
85
config INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON
85
86
bool "Enable Intel IOMMU scalable mode by default"
86
- depends on INTEL_IOMMU
87
87
help
88
88
Selecting this option will enable by default the scalable mode if
89
89
hardware presents the capability. The scalable mode is defined in
@@ -92,3 +92,5 @@ config INTEL_IOMMU_SCALABLE_MODE_DEFAULT_ON
92
92
is not selected, scalable mode support could also be enabled by
93
93
passing intel_iommu=sm_on to the kernel. If not sure, please use
94
94
the default value.
95
+
96
+ endif # INTEL_IOMMU
0 commit comments