diff options
| author | Christoph Hellwig <hch@lst.de> | 2024-10-15 10:29:20 +0200 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2024-10-29 08:53:37 +0100 |
| commit | 150745b49aca4dec8057e8908d5ce5383e036a4f (patch) | |
| tree | e4ab72ba73936b369dc1be738f884daa77d14efc /kernel/dma/Kconfig | |
| parent | 9d4f645a1fd49eea70a21e8671d358ebe1c08d02 (diff) | |
dma-debug: remove DMA_API_DEBUG_SG
The scatterlist validity checks are pretty simple and cheap, perform them
unconditionally.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma/Kconfig')
| -rw-r--r-- | kernel/dma/Kconfig | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig index 4c0dcd909121..31cfdb6b4bc3 100644 --- a/kernel/dma/Kconfig +++ b/kernel/dma/Kconfig @@ -260,23 +260,6 @@ config DMA_API_DEBUG If unsure, say N. -config DMA_API_DEBUG_SG - bool "Debug DMA scatter-gather usage" - default y - depends on DMA_API_DEBUG - help - 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. - config DMA_MAP_BENCHMARK bool "Enable benchmarking of streaming DMA mapping" depends on DEBUG_FS |
