[GIT PULL] second set of dma-mapping fixes for Linux 7.0
From: Marek Szyprowski
Date: Thu Mar 26 2026 - 03:52:38 EST
The following changes since commit d5b5e8149af0f5efed58653cbebf1cb3258ce49a:
sparc: Fix page alignment in dma mapping (2026-02-23 08:33:51 +0100)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux.git tags/dma-mapping-7.0-2026-03-25
for you to fetch changes up to 2cdaff22ed26f1e619aa2b43f27bb84f2c6ef8f8:
dma-mapping: add missing `inline` for `dma_free_attrs` (2026-03-25 08:01:21 +0100)
----------------------------------------------------------------
dma-mapping fixes for Linux 7.0
A set of fixes for DMA-mapping subsystem, which resolve false-positive
warnings from KMSAN and DMA-API debug (Shigeru Yoshida and Leon
Romanovsky) as well as a simple build fix (Miguel Ojeda).
----------------------------------------------------------------
Leon Romanovsky (8):
dma-debug: Allow multiple invocations of overlapping entries
dma-mapping: handle DMA_ATTR_CPU_CACHE_CLEAN in trace output
dma-mapping: Clarify valid conditions for CPU cache line overlap
dma-mapping: Introduce DMA require coherency attribute
dma-direct: prevent SWIOTLB path when DMA_ATTR_REQUIRE_COHERENT is set
iommu/dma: add support for DMA_ATTR_REQUIRE_COHERENT attribute
RDMA/umem: Tell DMA mapping that UMEM requires coherency
mm/hmm: Indicate that HMM requires DMA coherency
Miguel Ojeda (1):
dma-mapping: add missing `inline` for `dma_free_attrs`
Shigeru Yoshida (1):
dma: swiotlb: add KMSAN annotations to swiotlb_bounce()
Documentation/core-api/dma-attributes.rst | 38 ++++++++++++++++++++++++-------
drivers/infiniband/core/umem.c | 5 ++--
drivers/iommu/dma-iommu.c | 21 +++++++++++++----
drivers/virtio/virtio_ring.c | 10 ++++----
include/linux/dma-mapping.h | 19 +++++++++++-----
include/trace/events/dma.h | 4 +++-
kernel/dma/debug.c | 9 ++++----
kernel/dma/direct.h | 7 +++---
kernel/dma/mapping.c | 6 +++++
kernel/dma/swiotlb.c | 21 +++++++++++++++--
mm/hmm.c | 4 ++--
11 files changed, 107 insertions(+), 37 deletions(-)
----------------------------------------------------------------
Thanks!
Best regards
Marek Szyprowski, PhD
Samsung R&D Institute Poland