linux-alpha.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] Remove DMA .map_page and .unmap_page callbacks
@ 2025-09-18 18:45 Leon Romanovsky
  2025-09-18 18:45 ` [PATCH 1/9] alpha: Convert mapping routine to rely on physical address Leon Romanovsky
                   ` (8 more replies)
  0 siblings, 9 replies; 20+ messages in thread
From: Leon Romanovsky @ 2025-09-18 18:45 UTC (permalink / raw)
  To: Marek Szyprowski
  Cc: Jason Gunthorpe, Andreas Larsson, Borislav Petkov, Dave Hansen,
	David S. Miller, Geoff Levand, Helge Deller, Ingo Molnar, iommu,
	James E.J. Bottomley, Jason Wang, Juergen Gross, linux-alpha,
	linux-kernel, linux-mips, linux-parisc, linuxppc-dev,
	Madhavan Srinivasan, Matt Turner, Michael Ellerman,
	Michael S. Tsirkin, Richard Henderson, sparclinux,
	Stefano Stabellini, Thomas Bogendoerfer, Thomas Gleixner,
	virtualization, x86, xen-devel

Hi,

This series continues following two series:
1. "dma-mapping: migrate to physical address-based API" 
https://lore.kernel.org/all/cover.1757423202.git.leonro@nvidia.com
2. "Preparation to .map_page and .unmap_page removal"
Preparation to .map_page and .unmap_page removal

In this series, the DMA .map_page/.unmap_page callbacks are converted to newly
introduced .map_phys/.unmap_phys interfaces. This conversion allows us to reduce
or eliminate (for certain ARCHs) use of struct pages in DMA path.

Thanks

Leon Romanovsky (9):
  alpha: Convert mapping routine to rely on physical address
  MIPS/jazzdma: Provide physical address directly
  parisc: Convert DMA map_page to map_phys interface
  powerpc: Convert to physical address DMA mapping
  sparc64: Use physical address DMA mapping
  x86: Use physical address for DMA mapping
  vdpa: Convert to physical address DMA mapping
  xen: swiotlb: Convert mapping routine to rely on physical address
  dma-mapping: remove unused map_page callback

 arch/alpha/kernel/pci_iommu.c            | 47 ++++++++++--------------
 arch/mips/jazz/jazzdma.c                 | 20 ++++++----
 arch/powerpc/include/asm/iommu.h         |  8 ++--
 arch/powerpc/kernel/dma-iommu.c          | 22 +++++------
 arch/powerpc/kernel/iommu.c              | 14 +++----
 arch/powerpc/platforms/ps3/system-bus.c  | 33 ++++++++++-------
 arch/powerpc/platforms/pseries/ibmebus.c | 15 ++++----
 arch/powerpc/platforms/pseries/vio.c     | 21 ++++++-----
 arch/sparc/kernel/iommu.c                | 16 ++++----
 arch/sparc/kernel/pci_sun4v.c            | 16 ++++----
 arch/sparc/mm/io-unit.c                  | 13 +++----
 arch/sparc/mm/iommu.c                    | 46 ++++++++++++-----------
 arch/x86/kernel/amd_gart_64.c            | 19 +++++-----
 drivers/parisc/ccio-dma.c                | 25 +++++++------
 drivers/parisc/sba_iommu.c               | 23 ++++++------
 drivers/vdpa/vdpa_user/iova_domain.c     | 11 +++---
 drivers/vdpa/vdpa_user/iova_domain.h     |  8 ++--
 drivers/vdpa/vdpa_user/vduse_dev.c       | 18 +++++----
 drivers/xen/grant-dma-ops.c              | 20 ++++++----
 include/linux/dma-map-ops.h              |  7 ----
 kernel/dma/mapping.c                     | 12 ------
 kernel/dma/ops_helpers.c                 |  8 +---
 22 files changed, 208 insertions(+), 214 deletions(-)

-- 
2.51.0


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

end of thread, other threads:[~2025-09-28 11:58 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-18 18:45 [PATCH 0/9] Remove DMA .map_page and .unmap_page callbacks Leon Romanovsky
2025-09-18 18:45 ` [PATCH 1/9] alpha: Convert mapping routine to rely on physical address Leon Romanovsky
2025-09-22 21:04   ` Magnus Lindholm
2025-09-23 17:18     ` Leon Romanovsky
2025-09-23 19:34       ` Magnus Lindholm
2025-09-23 23:53         ` Jason Gunthorpe
2025-09-24  7:32           ` Magnus Lindholm
2025-09-27 19:20             ` Magnus Lindholm
2025-09-28 10:23               ` Magnus Lindholm
2025-09-28 10:54                 ` Leon Romanovsky
2025-09-28 11:27                   ` Magnus Lindholm
2025-09-28 11:58                     ` Leon Romanovsky
2025-09-18 18:45 ` [PATCH 2/9] MIPS/jazzdma: Provide physical address directly Leon Romanovsky
2025-09-18 18:45 ` [PATCH 3/9] parisc: Convert DMA map_page to map_phys interface Leon Romanovsky
2025-09-18 18:45 ` [PATCH 4/9] powerpc: Convert to physical address DMA mapping Leon Romanovsky
2025-09-18 18:45 ` [PATCH 5/9] sparc64: Use " Leon Romanovsky
2025-09-18 18:45 ` [PATCH 6/9] x86: Use physical address for " Leon Romanovsky
2025-09-18 18:45 ` [PATCH 7/9] vdpa: Convert to physical address " Leon Romanovsky
2025-09-18 18:45 ` [PATCH 8/9] xen: swiotlb: Convert mapping routine to rely on physical address Leon Romanovsky
2025-09-18 18:45 ` [PATCH 9/9] dma-mapping: remove unused map_page callback Leon Romanovsky

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).