Re: [PATCH 0/2] fdt: translate address if #size-cells = <0>

Dario Binacchi
2021-04-06T22:02:46Z

> Il 06/04/2021 16:06 Rob Herring <robh+dt@kernel.org> ha scritto:
>
>
> On Fri, Apr 2, 2021 at 2:21 PM Dario Binacchi <dariobin@libero.it> wrote:
> >
> >
> > The series comes from my commit in U-boot
> > d64b9cdcd4 ("fdt: translate address if #size-cells = <0>")
> > and from the subsequent exchange of emails at the end of which I was
> > suggested to send the patch to the linux kernel
> > (https://patchwork.ozlabs.org/project/uboot/patch/1614324949-61314-1-git-send-email-bmeng.cn@gmail.com/).
>
> It's 'ranges' that determines translatable which is missing from the
> DT. This should have not had a 0 size either though maybe we could
> support that.

I have replied to the email you sent to the u-boot mailing list

>
> Does the DT have to be updated anyways for your spread spectrum support?

The spread spectrum support patch does not need this patch to work. They belong
to two different series.

>
> > The second patch of the series aims to demonstrate that the first one, which
> > enables the translation of addresses also for crossings of DT nodes
> > with #size-cells = <0>, it really works.
>
> I don't seem to have the 2nd patch... In any case, you should handle
> the special case for this platform in code for the platform.
>

the 2nd patch:
https://lore.kernel.org/patchwork/patch/1407108/

Thanks and regards,
Dario

> Rob