devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/7] dma-mapping: Simplify arch_setup_dma_ops()
@ 2024-02-09 16:49 Robin Murphy
  2024-02-09 16:49 ` [PATCH v3 1/7] OF: Retire dma-ranges mask workaround Robin Murphy
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Robin Murphy @ 2024-02-09 16:49 UTC (permalink / raw)
  To: Joerg Roedel, Christoph Hellwig
  Cc: Vineet Gupta, Russell King, Catalin Marinas, Will Deacon,
	Huacai Chen, WANG Xuerui, Thomas Bogendoerfer, Paul Walmsley,
	Palmer Dabbelt, Albert Ou, Lorenzo Pieralisi, Hanjun Guo,
	Sudeep Holla, K. Y. Srinivasan, Haiyang Zhang, Wei Liu,
	Dexuan Cui, Suravee Suthikulpanit, David Woodhouse, Lu Baolu,
	Niklas Schnelle, Matthew Rosato, Gerald Schaefer,
	Jean-Philippe Brucker, Rob Herring, Frank Rowand,
	Marek Szyprowski, Jason Gunthorpe, linux-kernel, linux-arm-kernel,
	linux-acpi, iommu, devicetree

v2: https://lore.kernel.org/linux-iommu/cover.1702486837.git.robin.murphy@arm.com/

Hi all,

Here's v3, rebased and fixing the thinko from v2, so unless anything
else has changed behind my back I hope it's good to go (via the IOMMU
tree, as mentioned before).

Thanks,
Robin.


Robin Murphy (7):
  OF: Retire dma-ranges mask workaround
  OF: Simplify DMA range ca1lculations
  ACPI/IORT: Handle memory address size limits as limits
  dma-mapping: Add helpers for dma_range_map bounds
  iommu/dma: Make limit checks self-contained
  iommu/dma: Centralise iommu_setup_dma_ops()
  dma-mapping: Simplify arch_setup_dma_ops()

 arch/arc/mm/dma.c               |  3 +--
 arch/arm/mm/dma-mapping-nommu.c |  3 +--
 arch/arm/mm/dma-mapping.c       | 16 +++++++------
 arch/arm64/mm/dma-mapping.c     |  5 +---
 arch/loongarch/kernel/dma.c     |  9 ++-----
 arch/mips/mm/dma-noncoherent.c  |  3 +--
 arch/riscv/mm/dma-noncoherent.c |  3 +--
 drivers/acpi/arm64/dma.c        | 17 ++++---------
 drivers/acpi/arm64/iort.c       | 20 ++++++++--------
 drivers/acpi/scan.c             |  7 +-----
 drivers/hv/hv_common.c          |  6 +----
 drivers/iommu/amd/iommu.c       |  8 -------
 drivers/iommu/dma-iommu.c       | 39 ++++++++++++------------------
 drivers/iommu/dma-iommu.h       | 14 +++++------
 drivers/iommu/intel/iommu.c     |  7 ------
 drivers/iommu/iommu.c           | 20 ++++++----------
 drivers/iommu/s390-iommu.c      |  6 -----
 drivers/iommu/virtio-iommu.c    | 10 --------
 drivers/of/device.c             | 42 ++++++---------------------------
 include/linux/acpi_iort.h       |  4 ++--
 include/linux/dma-direct.h      | 18 ++++++++++++++
 include/linux/dma-map-ops.h     |  6 ++---
 include/linux/iommu.h           |  7 ------
 23 files changed, 89 insertions(+), 184 deletions(-)

-- 
2.39.2.101.g768bb238c484.dirty


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

end of thread, other threads:[~2024-03-08 20:37 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-09 16:49 [PATCH v3 0/7] dma-mapping: Simplify arch_setup_dma_ops() Robin Murphy
2024-02-09 16:49 ` [PATCH v3 1/7] OF: Retire dma-ranges mask workaround Robin Murphy
2024-02-09 16:49 ` [PATCH v3 2/7] OF: Simplify DMA range calculations Robin Murphy
2024-02-09 16:50 ` [PATCH v3 3/7] ACPI/IORT: Handle memory address size limits as limits Robin Murphy
2024-02-24 11:43   ` Hanjun Guo
2024-02-09 16:50 ` [PATCH v3 4/7] dma-mapping: Add helpers for dma_range_map bounds Robin Murphy
2024-02-24 11:47   ` Hanjun Guo
2024-02-09 16:50 ` [PATCH v3 5/7] iommu/dma: Make limit checks self-contained Robin Murphy
2024-02-09 16:50 ` [PATCH v3 6/7] iommu/dma: Centralise iommu_setup_dma_ops() Robin Murphy
2024-02-10 11:27   ` Baolu Lu
2024-03-08 20:37   ` Jason Gunthorpe
2024-02-09 16:50 ` [PATCH v3 7/7] dma-mapping: Simplify arch_setup_dma_ops() Robin Murphy
2024-02-09 19:37   ` Michael Kelley
2024-03-08 20:37   ` Jason Gunthorpe
2024-02-24 11:32 ` [PATCH v3 0/7] " Hanjun Guo
2024-03-06 12:02 ` Robin Murphy
2024-03-06 12:10   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).