Thread (34 messages) 34 messages, 7 authors, 2025-10-06

Re: [PATCH v1 4/9] powerpc: Convert to physical address DMA mapping

From: Christophe Leroy <hidden>
Date: 2025-10-04 06:50:34
Also in: linux-alpha, linux-iommu, linux-mips, lkml, sparclinux, virtualization, xen-devel


Le 03/10/2025 à 18:35, Jason Gunthorpe a écrit :
On Sun, Sep 28, 2025 at 06:02:24PM +0300, Leon Romanovsky wrote:
quoted
From: Leon Romanovsky <leonro@nvidia.com>

Adapt PowerPC DMA to use physical addresses in order to prepare code
to removal .map_page and .unmap_page.

Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
---
  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 ++++++++-------
  6 files changed, 60 insertions(+), 53 deletions(-)
I think this is good enough for PPC anything more looks quite hard
Can you tell what you have in mind ? What more would be interesting to 
do but looks hard ? Maybe it can be a follow-up change ?

Christophe
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help