[GIT PULL] dma-mapping updates for Linux 7.2

From: Marek Szyprowski

Date: Tue Jun 16 2026 - 05:16:57 EST


The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:

Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux.git tags/dma-mapping-7.2-2026-06-16

for you to fetch changes up to 7318301e060e3f1207a34f2fca6cd86770dd9160:

dma: map_benchmark: turn dma_sg_map_param buf into a flexible array (2026-06-03 08:20:02 +0200)

----------------------------------------------------------------
dma-mapping updates for Linux 7.2:

- added more checks for DMA attributes in the debug code, especially
to ensure that mappings are created and released with matching
attributes (Leon Romanovsky)

- better default configuration for CMA on NUMA machines (Feng Tang)

- little code cleanup in dma benchmark tool (Rosen Penev)

----------------------------------------------------------------
Feng Tang (2):
dma-contiguous: add kconfig option to setup numa cma area if not configured explicitly
dma-contiguous: simplify numa cma area handling

Leon Romanovsky (6):
ntb: Store original DMA address for future release
ntb: Use consistent DMA attributes when freeing DMA mappings
dma-debug: Remove unused DMA attribute parameter
dma-debug: Record DMA attributes in debug entry
dma-debug: Feed DMA attribute for unmapping flows too
dma-debug: Ensure mappings are created and released with matching attributes

Rosen Penev (1):
dma: map_benchmark: turn dma_sg_map_param buf into a flexible array

Documentation/admin-guide/kernel-parameters.txt | 4 ++
drivers/ntb/ntb_transport.c | 10 +--
kernel/dma/Kconfig | 14 +++-
kernel/dma/contiguous.c | 58 +++++++----------
kernel/dma/debug.c | 87 +++++++++++++++++--------
kernel/dma/debug.h | 25 +++----
kernel/dma/map_benchmark.c | 27 ++++----
kernel/dma/mapping.c | 10 +--
8 files changed, 136 insertions(+), 99 deletions(-)

----------------------------------------------------------------

Thanks!

Best regards
Marek Szyprowski, PhD
Samsung R&D Institute Poland