diff options
Diffstat (limited to 'arch/x86/Kconfig.debug')
-rw-r--r-- | arch/x86/Kconfig.debug | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/x86/Kconfig.debug b/arch/x86/Kconfig.debug index 18363374d51a..f7169edfbeab 100644 --- a/arch/x86/Kconfig.debug +++ b/arch/x86/Kconfig.debug | |||
@@ -172,6 +172,34 @@ config IOMMU_LEAK | |||
172 | Add a simple leak tracer to the IOMMU code. This is useful when you | 172 | Add a simple leak tracer to the IOMMU code. This is useful when you |
173 | are debugging a buggy device driver that leaks IOMMU mappings. | 173 | are debugging a buggy device driver that leaks IOMMU mappings. |
174 | 174 | ||
175 | config MMIOTRACE_HOOKS | ||
176 | bool | ||
177 | |||
178 | config MMIOTRACE | ||
179 | bool "Memory mapped IO tracing" | ||
180 | depends on DEBUG_KERNEL && PCI | ||
181 | select TRACING | ||
182 | select MMIOTRACE_HOOKS | ||
183 | default y | ||
184 | help | ||
185 | Mmiotrace traces Memory Mapped I/O access and is meant for | ||
186 | debugging and reverse engineering. It is called from the ioremap | ||
187 | implementation and works via page faults. Tracing is disabled by | ||
188 | default and can be enabled at run-time. | ||
189 | |||
190 | See Documentation/tracers/mmiotrace.txt. | ||
191 | If you are not helping to develop drivers, say N. | ||
192 | |||
193 | config MMIOTRACE_TEST | ||
194 | tristate "Test module for mmiotrace" | ||
195 | depends on MMIOTRACE && m | ||
196 | help | ||
197 | This is a dumb module for testing mmiotrace. It is very dangerous | ||
198 | as it will write garbage to IO memory starting at a given address. | ||
199 | However, it should be safe to use on e.g. unused portion of VRAM. | ||
200 | |||
201 | Say N, unless you absolutely know what you are doing. | ||
202 | |||
175 | # | 203 | # |
176 | # IO delay types: | 204 | # IO delay types: |
177 | # | 205 | # |