public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] DMA IOMMU static calls
@ 2024-07-24 18:04 Leon Romanovsky
  2024-07-24 18:04 ` [PATCH v4 1/2] dma: call unconditionally to unmap_page and unmap_sg callbacks Leon Romanovsky
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Leon Romanovsky @ 2024-07-24 18:04 UTC (permalink / raw)
  To: Christoph Hellwig, Robin Murphy, Joerg Roedel, Will Deacon,
	Marek Szyprowski
  Cc: Leon Romanovsky, Easwar Hariharan, linux-kernel, iommu,
	Jason Gunthorpe, Greg Kroah-Hartman

Changelog:
v4:
 * Added extra hidden config option to build ops_helper.c without CONFIG_DMA_OPS
 * Tried to keep dma-iommu.c function declaration style.
 * Removed "select DMA_OPS" from intel iommu kconfig. It is not needed.
v3: https://lore.kernel.org/all/cover.1721547902.git.leon@kernel.org/
 * Changed coding style as Christoph asked
 * Moved debug WARN_ON check to dma_set_mask.
 * Slightly updated commit messages
 * Added Greg to the CC list
v2: https://lore.kernel.org/all/cover.1721219730.git.leon@kernel.org/
 * Ditched dma_ops flag in favor of field in struct device (suggested by
   Christoph)
 * Removed CONFIG_DMA_OPS select from dma-iommu.c Kconfig
 * Removed flags field which exist only in default IOMMU
v1: https://lore.kernel.org/all/cover.1721041611.git.leon@kernel.org/
 * 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/Kconfig       |   2 +-
 drivers/iommu/dma-iommu.c   | 121 ++++++++++----------------
 drivers/iommu/intel/Kconfig |   1 -
 include/linux/device.h      |   5 ++
 include/linux/dma-map-ops.h |  39 +++++----
 include/linux/iommu-dma.h   | 169 ++++++++++++++++++++++++++++++++++++
 kernel/dma/Kconfig          |   6 ++
 kernel/dma/Makefile         |   2 +-
 kernel/dma/dummy.c          |  21 +++++
 kernel/dma/mapping.c        |  90 ++++++++++++++++---
 11 files changed, 348 insertions(+), 109 deletions(-)
 create mode 100644 include/linux/iommu-dma.h

-- 
2.45.2


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2024-09-11  9:05 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-24 18:04 [PATCH v4 0/2] DMA IOMMU static calls Leon Romanovsky
2024-07-24 18:04 ` [PATCH v4 1/2] dma: call unconditionally to unmap_page and unmap_sg callbacks Leon Romanovsky
2024-08-13 12:23   ` Robin Murphy
2024-07-24 18:04 ` [PATCH v4 2/2] dma: add IOMMU static calls with clear default ops Leon Romanovsky
2024-08-15 16:54   ` Robin Murphy
2024-08-15 17:06     ` Leon Romanovsky
2024-08-16  7:11     ` Christoph Hellwig
2024-08-16  8:13       ` Christoph Hellwig
2024-08-19 13:16       ` Robin Murphy
2024-08-20 12:22         ` Christoph Hellwig
2024-08-27 11:57           ` Robin Murphy
2024-09-04 14:59   ` Nícolas F. R. A. Prado
2024-09-04 15:45     ` Leon Romanovsky
2024-09-04 17:58       ` Nícolas F. R. A. Prado
2024-09-04 18:02         ` Leon Romanovsky
2024-09-10 19:01   ` Nícolas F. R. A. Prado
2024-09-11  6:43     ` Leon Romanovsky
2024-09-11  8:04       ` Christoph Hellwig
2024-09-11  9:05         ` Leon Romanovsky
2024-08-05 12:20 ` [PATCH v4 0/2] DMA IOMMU static calls Leon Romanovsky
2024-08-13  9:58   ` Greg Kroah-Hartman
2024-08-13 11:50     ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox