diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2009-01-09 12:14:24 +0100 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-03-05 14:36:50 +0100 |
commit | 5ee00bd4691e7364bb7b62e2068d473cd5cb9320 (patch) | |
tree | 5223b3e5baadea873e0b2b5e6b40236de27bd864 /lib/Kconfig.debug | |
parent | 0bd5c4f7c874cf48ff7904dcf8a59988c8fea0e8 (diff) | |
download | linux-3.10-5ee00bd4691e7364bb7b62e2068d473cd5cb9320.tar.gz linux-3.10-5ee00bd4691e7364bb7b62e2068d473cd5cb9320.tar.bz2 linux-3.10-5ee00bd4691e7364bb7b62e2068d473cd5cb9320.zip |
dma-debug: add Kconfig entry
Impact: add a Kconfig entry for DMA-API debugging
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 1bcf9cd4baa..d9cbada7e2f 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -902,6 +902,17 @@ config DYNAMIC_PRINTK_DEBUG debugging for all modules. This mode can be turned off via the above disable command. +config DMA_API_DEBUG + bool "Enable debugging of DMA-API usage" + depends on HAVE_DMA_API_DEBUG + help + Enable this option to debug the use of the DMA API by device drivers. + With this option you will be able to detect common bugs in device + drivers like double-freeing of DMA mappings or freeing mappings that + were never allocated. + This option causes a performance degredation. Use only if you want + to debug device drivers. If unsure, say N. + source "samples/Kconfig" source "lib/Kconfig.kgdb" |