Re: [PATCH v3] dma-mapping: skip USB devices when configuring DMA during probe

From: Johan Hovold
Date: Tue Aug 08 2017 - 14:03:18 EST


On Sat, Aug 05, 2017 at 10:38:07AM +0200, Christoph Hellwig wrote:
> I think the root problem is that the code added by
> " of/acpi: Configure dma operations at probe time for platform/amba/pci bus
> devices"
>
> is completely bogus and needs to be reverted. We can't simply iterate
> over all devices in the system and set up dma for them. We'll need
> to ask the firmware / OF what root port this applies to and only
> apply it to those buses.

I'm afraid I haven't had time to look any more at this, and now I'll be
offline for the next two weeks.

It sounded like Robin was working on a fix for the broken DMA-mask on
RPI3 and that should address Hans's ethernet regression too even if we
ultimately need to fix dma_configure() as well.

Thanks,
Johan