[GIT PULL] dma-mapping updates for Linux 5.13

From: Christoph Hellwig
Date: Tue May 04 2021 - 03:58:41 EST


The following changes since commit 1e28eed17697bcf343c6743f0028cc3b5dd88bf0:

Linux 5.12-rc3 (2021-03-14 14:41:02 -0700)

are available in the Git repository at:

git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-5.13

for you to fetch changes up to a7f3d3d3600c8ed119eb0d2483de0062ce2e3707:

dma-mapping: add unlikely hint to error path in dma_mapping_error (2021-04-02 16:41:08 +0200)

----------------------------------------------------------------
dma-mapping updates for Linux 5.13:

- add a new dma_alloc_noncontiguous API (me, Ricardo Ribalda)
- fix a copyright noice (Hao Fang)
- add an unlikely annotation to dma_mapping_error (Heiner Kallweit)
- remove a pointless empty line (Wang Qing)
- add support for multi-pages map/unmap bencharking (Xiang Chen)

----------------------------------------------------------------
Christoph Hellwig (5):
dma-mapping: add a dma_mmap_pages helper
dma-mapping: refactor dma_{alloc,free}_pages
dma-mapping: add a dma_alloc_noncontiguous API
dma-iommu: refactor iommu_dma_alloc_remap
dma-iommu: implement ->alloc_noncontiguous

Hao Fang (1):
dma-mapping: benchmark: use the correct HiSilicon copyright

Heiner Kallweit (1):
dma-mapping: add unlikely hint to error path in dma_mapping_error

Ricardo Ribalda (1):
media: uvcvideo: Use dma_alloc_noncontiguous API

Wang Qing (1):
dma-mapping: remove a pointless empty line in dma_alloc_coherent

Xiang Chen (1):
dma-mapping: benchmark: Add support for multi-pages map/unmap

Documentation/core-api/dma-api.rst | 88 ++++++++++++++
drivers/iommu/dma-iommu.c | 103 ++++++++++++-----
drivers/media/usb/uvc/uvc_video.c | 94 +++++++++++----
drivers/media/usb/uvc/uvcvideo.h | 5 +-
include/linux/dma-map-ops.h | 19 +++
include/linux/dma-mapping.h | 37 +++++-
kernel/dma/map_benchmark.c | 23 ++--
kernel/dma/mapping.c | 148 ++++++++++++++++++++++--
tools/testing/selftests/dma/dma_map_benchmark.c | 22 +++-
9 files changed, 456 insertions(+), 83 deletions(-)