[PATCH v1 0/2] DMA IOMMU static calls

Leon Romanovsky posted 2 patches 1 year, 7 months ago
There is a newer version of this series
MAINTAINERS                 |   1 +
drivers/iommu/dma-iommu.c   | 108 ++++++++++-------------
include/linux/dma-map-ops.h |   3 +
include/linux/iommu-dma.h   | 169 ++++++++++++++++++++++++++++++++++++
kernel/dma/dummy.c          |  21 +++++
kernel/dma/mapping.c        |  73 ++++++++++++++--
6 files changed, 305 insertions(+), 70 deletions(-)
create mode 100644 include/linux/iommu-dma.h
[PATCH v1 0/2] DMA IOMMU static calls
Posted by Leon Romanovsky 1 year, 7 months ago
Changelog:
v1:
 * Dropped extra layer and called directly to iommu_dma_* functions
 * Added unmap_page and unmap_sg to dummy ops
 * Converted all dma-mapping calls to use iommu directly
 * Updated commit messages
v0: https://lore.kernel.org/all/98d1821780028434ff55b5d2f1feea287409fbc4.1720693745.git.leon@kernel.org/

Leon Romanovsky (2):
  dma: call unconditionally to unmap_page and unmap_sg callbacks
  dma: Add IOMMU static calls with clear default ops

 MAINTAINERS                 |   1 +
 drivers/iommu/dma-iommu.c   | 108 ++++++++++-------------
 include/linux/dma-map-ops.h |   3 +
 include/linux/iommu-dma.h   | 169 ++++++++++++++++++++++++++++++++++++
 kernel/dma/dummy.c          |  21 +++++
 kernel/dma/mapping.c        |  73 ++++++++++++++--
 6 files changed, 305 insertions(+), 70 deletions(-)
 create mode 100644 include/linux/iommu-dma.h

-- 
2.45.2