linux/kernel/dma
Leon Romanovsky a34bd60bda dma-debug: Ensure mappings are created and released with matching attributes
The DMA API expects that callers use the same attributes when mapping
and unmapping. Add tracking to verify this and catch mismatches.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Samiullah Khawaja <skhawaja@google.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20260501-dma-attrs-debug-v2-6-8dbac75cd501@nvidia.com
2026-05-08 22:28:19 +02:00
..
coherent.c of: reserved_mem: switch to ops based OF_DECLARE() 2026-03-26 14:12:02 -05:00
contiguous.c Merge branch 'dma-contig-for-7.1-modules-prep-v4' into dma-mapping-for-next 2026-03-31 14:52:03 +02:00
debug.c dma-debug: Ensure mappings are created and released with matching attributes 2026-05-08 22:28:19 +02:00
debug.h dma-debug: Feed DMA attribute for unmapping flows too 2026-05-08 22:28:19 +02:00
direct.c dma-mapping: Support batch mode for dma_direct_{map,unmap}_sg 2026-03-13 23:47:48 +01:00
direct.h dma-mapping: introduce DMA_ATTR_CC_SHARED for shared memory 2026-04-02 07:29:33 +02:00
dummy.c dma-mapping: convert dummy ops to physical address mapping 2025-10-29 10:27:29 +01:00
Kconfig dma-mapping: Separate DMA sync issuing and completion waiting 2026-03-13 23:47:31 +01:00
Makefile dma-mapping: clearly mark DMA ops as an architecture feature 2024-09-04 07:08:51 +03:00
map_benchmark.c dma-mapping: benchmark: add support for dma_map_sg 2026-03-04 11:22:05 +01:00
mapping.c dma-debug: Feed DMA attribute for unmapping flows too 2026-05-08 22:28:19 +02:00
ops_helpers.c dma-mapping: remove unused map_page callback 2025-10-29 10:27:31 +01:00
pool.c dma/pool: distinguish between missing and exhausted atomic pools 2026-01-29 10:23:45 +01:00
remap.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
swiotlb.c memblock: updates for 7.0-rc1 2026-04-18 11:29:14 -07:00