]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dma-mapping: Introduce DMA require coherency attribute
authorLeon Romanovsky <leonro@nvidia.com>
Mon, 16 Mar 2026 19:06:48 +0000 (21:06 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 20 Mar 2026 11:05:36 +0000 (12:05 +0100)
commite6a58fa2556203a7f6731b4071705dc81cca5ca5
tree404642b67acba4db7d6162c52cc55d4ac8f8f2ab
parent9bb0a4d6a4433b75274204b083dac8e515d2007d
dma-mapping: Introduce DMA require coherency attribute

The mapping buffers which carry this attribute require DMA coherent system.
This means that they can't take SWIOTLB path, can perform CPU cache overlap
and doesn't perform cache flushing.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20260316-dma-debug-overlap-v3-4-1dde90a7f08b@nvidia.com
Documentation/core-api/dma-attributes.rst
include/linux/dma-mapping.h
include/trace/events/dma.h
kernel/dma/debug.c
kernel/dma/mapping.c