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

Linus Walleij linus.walleij at linaro.org
Tue Oct 6 09:19:31 EDT 2020


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

> On ARM, setting up the linear region is tricky, given the constraints
> around placement and alignment of the memblocks, and how the kernel
> itself as well as the DT are placed in physical memory.
>
> Let's simplify matters a bit, by moving the device tree mapping to the
> top of the address space, right below the fixmap region, and create a
> read-only mapping for it that is independent of the size of the linear
> region, and how it is organized.
>
> Signed-off-by: Ard Biesheuvel <ardb at kernel.org>

Looks good to me as stated on patch 0/2

Should we also patch Documentation/arm/memory.rst to reflect this?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list