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

CONFIG_DMA_API_DEBUG_SG: Debug DMA scatter-gather usage

General informations

The Linux kernel configuration item CONFIG_DMA_API_DEBUG_SG has multiple definitions:

Debug DMA scatter-gather usage found in kernel/dma/Kconfig

The configuration item CONFIG_DMA_API_DEBUG_SG:

Help text

Perform extra checking that callers of dma_map_sg() have respected the appropriate segment length/boundary limits for the given device when preparing DMA scatterlists.

This is particularly likely to have been overlooked in cases where the dma_map_sg() API is used for general bulk mapping of pages rather than preparing literal scatter-gather descriptors, where there is a risk of unexpected behaviour from DMA API implementations if the scatterlist is technically out-of-spec.

If unsure, say N.

Debug DMA scatter-gather usage found in lib/Kconfig.debug

The configuration item CONFIG_DMA_API_DEBUG_SG:

Help text

Perform extra checking that callers of dma_map_sg() have respected the appropriate segment length/boundary limits for the given device when preparing DMA scatterlists.

This is particularly likely to have been overlooked in cases where the dma_map_sg() API is used for general bulk mapping of pages rather than preparing literal scatter-gather descriptors, where there is a risk of unexpected behaviour from DMA API implementations if the scatterlist is technically out-of-spec.

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