Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - D index

CONFIG_DMA_API_DEBUG: Enable debugging of DMA-API usage

General informations

The Linux kernel configuration item CONFIG_DMA_API_DEBUG has multiple definitions:

Enable debugging of DMA-API usage found in kernel/dma/Kconfig

The configuration item CONFIG_DMA_API_DEBUG:

Help text

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 degradation. Use only if you want to debug device drivers and dma interactions.

If unsure, say N.

Enable debugging of DMA-API usage found in lib/Kconfig.debug

The configuration item CONFIG_DMA_API_DEBUG:

Help text

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 also attempts to catch cases where a page owned by DMA is accessed by the cpu in a way that could cause data corruption. For example, this enables cow_user_page() to check that the source page is not undergoing DMA.

This option causes a performance degradation. Use only if you want to debug device drivers and dma interactions.

If unsure, say N.

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - D index

Automatically generated (in year 2024). See also LKDDb sources on GitLab