[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 4/9] powerpc: Convert to physical address DMA mapping
- To: Jason Gunthorpe <jgg@xxxxxxxxxx>, Leon Romanovsky <leon@xxxxxxxxxx>
- From: Christophe Leroy <christophe.leroy@xxxxxxxxxx>
- Date: Sat, 4 Oct 2025 08:19:40 +0200
- Cc: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>, Leon Romanovsky <leonro@xxxxxxxxxx>, Andreas Larsson <andreas@xxxxxxxxxxx>, Borislav Petkov <bp@xxxxxxxxx>, Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, Geoff Levand <geoff@xxxxxxxxxxxxx>, Helge Deller <deller@xxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, iommu@xxxxxxxxxxxxxxx, "James E.J. Bottomley" <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>, Jason Wang <jasowang@xxxxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, linux-alpha@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxxx, linux-parisc@xxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, Madhavan Srinivasan <maddy@xxxxxxxxxxxxx>, Matt Turner <mattst88@xxxxxxxxx>, Michael Ellerman <mpe@xxxxxxxxxxxxxx>, "Michael S. Tsirkin" <mst@xxxxxxxxxx>, Richard Henderson <richard.henderson@xxxxxxxxxx>, sparclinux@xxxxxxxxxxxxxxx, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, virtualization@xxxxxxxxxxxxxxx, x86@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, Magnus Lindholm <linmag7@xxxxxxxxx>
- Delivery-date: Sat, 04 Oct 2025 06:50:47 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Le 03/10/2025 à 18:35, Jason Gunthorpe a écrit :
On Sun, Sep 28, 2025 at 06:02:24PM +0300, Leon Romanovsky wrote:
From: Leon Romanovsky <leonro@xxxxxxxxxx>
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@xxxxxxxxxx>
---
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@xxxxxxxxxx>
Jason
|