Re: use generic DMA mapping code in powerpc V4

From: Benjamin Herrenschmidt
Date: Sat Dec 08 2018 - 07:49:11 EST


On Tue, 2018-11-27 at 08:42 +0100, Christoph Hellwig wrote:
> Any comments? I'd like to at least get the ball moving on the easy
> bits.

So I had to cleanup some dust but it works on G5 with and without iommu
and 32-bit powermacs at least.

We're doing more tests, hopefully mpe can dig out some PASemi and
NXP/FSL HW as well. I'll try to review & ack the patches over the next
few days too.

Cheers,
Ben.

> On Wed, Nov 14, 2018 at 09:22:40AM +0100, Christoph Hellwig wrote:
> > Hi all,
> >
> > this series switches the powerpc port to use the generic swiotlb and
> > noncoherent dma ops, and to use more generic code for the coherent
> > direct mapping, as well as removing a lot of dead code.
> >
> > As this series is very large and depends on the dma-mapping tree I've
> > also published a git tree:
> >
> > git://git.infradead.org/users/hch/misc.git powerpc-dma.4
> >
> > Gitweb:
> >
> > http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/powerpc-dma.4
> >
> > Changes since v3:
> > - rebase on the powerpc fixes tree
> > - add a new patch to actually make the baseline amigaone config
> > configure without warnings
> > - only use ZONE_DMA for 64-bit embedded CPUs, on pseries an IOMMU is
> > always present
> > - fix compile in mem.c for one configuration
> > - drop the full npu removal for now, will be resent separately
> > - a few git bisection fixes
> >
> > The changes since v1 are to big to list and v2 was not posted in public.
> >
> > _______________________________________________
> > iommu mailing list
> > iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx
> > https://lists.linuxfoundation.org/mailman/listinfo/iommu
> ---end quoted text---