Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dma-buf: enable DMABUF_DEBUG by default on DEBUG kernels

The overhead of enforcing the DMA-buf rules for importers is now so low
that it safe to enable it by default on DEBUG kernels.

This will hopefully result in fixing more issues in importers.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Link: https://lore.kernel.org/r/20251205130604.1582-2-christian.koenig@amd.com

+1 -1
+1 -1
drivers/dma-buf/Kconfig
··· 55 55 config DMABUF_DEBUG 56 56 bool "DMA-BUF debug checks" 57 57 depends on DMA_SHARED_BUFFER 58 - default y if DMA_API_DEBUG 58 + default y if DEBUG 59 59 help 60 60 This option enables additional checks for DMA-BUF importers and 61 61 exporters. Specifically it validates that importers do not peek at the