[PATCH v2 1/2] of: addr: Translate 'dma-ranges' for parent nodes missing 'dma-ranges'
Simon Glass
sjg at chromium.org
Sat Jun 5 18:02:06 CEST 2021
Hi Bin,
On Fri, 4 Jun 2021 at 00:11, Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Mon, May 17, 2021 at 10:03 AM Bin Meng <bmeng.cn at gmail.com> wrote:
> >
> > Hi Simon,
> >
> > On Fri, Apr 30, 2021 at 9:17 PM Bin Meng <bmeng.cn at gmail.com> wrote:
> > >
> > > 'dma-ranges' frequently exists without parent nodes having 'dma-ranges'.
> > > While this is an error for 'ranges', this is fine because DMA capable
> > > devices always have a translatable DMA address. Also, with no
> > > 'dma-ranges' at all, the assumption is that DMA addresses are 1:1 with
> > > no restrictions unless perhaps the device itself has implicit
> > > restrictions.
> > >
> > > This keeps in sync with Linux kernel commit:
> > >
> > > 81db12ee15cb: of/address: Translate 'dma-ranges' for parent nodes missing 'dma-ranges'
> > >
> > > Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> > > Reviewed-by: Simon Glass <sjg at chromium.org>
> > >
> > > ---
> > >
> > > Changes in v2:
> > > - rebase on top of Dario's revert patch:
> > > http://patchwork.ozlabs.org/project/uboot/patch/20210425141746.19115-6-dariobin@libero.it/
> >
> > The above dependent patch is now in u-boot/master.
> >
> > Could you please apply this series?
> >
>
> Ping?
OK I am taking a look.
Regards,
Simon
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list