[PATCH 2/2] ARM: move device tree mapping out of linear region

Linus Walleij linus.walleij at linaro.org
Wed Oct 7 05:56:19 EDT 2020


On Tue, Oct 6, 2020 at 6:46 PM Nicolas Pitre <nico at fluxnic.net> wrote:

> This is unfortunate that the DT is needed early, otherwise it would have
> been nicer to simply put it in the vmalloc area directly.

We can issue unflatten_and_copy_device_tree() like most arches
do and then remove the mapping and memblock after that, but then
we also need a remove_mapping() call that is counterpart to
create_mapping() to get rid of this early map.

But that can be a separate project (if desirable).

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list