[PATCH 1/6 v14] ARM: Handle a device tree in lowmem

Linus Walleij linus.walleij at linaro.org
Tue Oct 6 05:19:48 EDT 2020


On Tue, Oct 6, 2020 at 11:16 AM Ard Biesheuvel <ardb at kernel.org> wrote:

> We don't actually unmap the DT from the linear region, we just alias
> it elsewhere in the VA space, so that we don't have to reason about
> whether the DT is in the first memblock or below/above/whatever.
>
> So the DT is just one of the many memblock_reservations, and this
> actually doesn't change - the DT is still there, it is reserved, we
> just access it via another route.

Yeah I see.

I had a conversation with Rob Herring where he said it would be
nice if ARM used unflatten_and_copy_device_tree() like most
other architectures, but I don't know what it would bring us?
(Paging Rob.)

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list