Merge tag 'dma-mapping-6.16-2025-05-26' of git://git.kernel.org/pub/scm/linux/kernel...
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 28 May 2025 03:09:06 +0000 (20:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 28 May 2025 03:09:06 +0000 (20:09 -0700)
commit23022f545610cceacd765bcd6c19102fa11755e0
tree4c4d64c89cf6f4b153afff551160509ba8d57e8f
parentc89756bcf406af313d191cfe3709e7c175c5b0cd
parent3ee7d9496342246f4353716f6bbf64c945ff6e2d
Merge tag 'dma-mapping-6.16-2025-05-26' of git://git./linux/kernel/git/mszyprowski/linux

Pull dma-mapping updates from Marek Szyprowski:
 "New two step DMA mapping API, which is is a first step to a long path
  to provide alternatives to scatterlist and to remove hacks, abuses and
  design mistakes related to scatterlists.

  This new approach optimizes some calls to DMA-IOMMU layer and cache
  maintenance by batching them, reduces memory usage as it is no need to
  store mapped DMA addresses to unmap them, and reduces some function
  call overhead.  It is a combination effort of many people, lead and
  developed by Christoph Hellwig and Leon Romanovsky"

* tag 'dma-mapping-6.16-2025-05-26' of git://git.kernel.org/pub/scm/linux/kernel/git/mszyprowski/linux:
  docs: core-api: document the IOVA-based API
  dma-mapping: add a dma_need_unmap helper
  dma-mapping: Implement link/unlink ranges API
  iommu/dma: Factor out a iommu_dma_map_swiotlb helper
  dma-mapping: Provide an interface to allow allocate IOVA
  iommu: add kernel-doc for iommu_unmap_fast
  iommu: generalize the batched sync after map interface
  dma-mapping: move the PCI P2PDMA mapping helpers to pci-p2pdma.h
  PCI/P2PDMA: Refactor the p2pdma mapping helpers
drivers/iommu/dma-iommu.c
drivers/iommu/iommu.c
include/linux/dma-mapping.h
include/linux/iommu.h
kernel/dma/mapping.c