On Mon, Sep 30, 2019 at 7:45 AM Marek Vasut <marek.vasut@xxxxxxxxx> wrote: > > On 9/24/19 12:33 AM, Rob Herring wrote: > > On Fri, Sep 13, 2019 at 10:14 AM Rob Herring wrote: > >> > >> On Sat, Sep 7, 2019 at 5:16 PM wrote: > >>> > >>> From: Marek Vasut > >>> > >>> Add dma-ranges property into /soc node to describe the DMA capabilities > >>> of the bus. This is currently needed to translate PCI DMA ranges, which > >>> are limited to 32bit addresses. > >> > >> FYI, I've started working on this problem and issues around > >> dma-ranges/dma_mask. Hopefully I'll get some patches out next week. > > > > I've pushed out a branch here: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git dma-masks > > > > Can you test it on Renesas. I don't have a real platform having the issue. > > > With the following patches applied: > https://patchwork.ozlabs.org/patch/1144870/ I'd rather not have yet another instance of {dma-}ranges parsing code. With this series[1], dma-ranges gets parsed into resource list for you. > https://patchwork.ozlabs.org/patch/1144871/ How can this one be applied? It would conflict horribly. Plus I think it duplicates what's in my series. Rob > on R8A7795 Salvator-XS, works fine. [1] https://lore.kernel.org/linux-arm-kernel/20190924214630.12817-7-robh@xxxxxxxxxx/T/