]> xenbits.xensource.com Git - people/julieng/linux-arm.git/commit
arm64/efi: ignore DT memreserve entries instead of removing them
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Sun, 10 May 2015 06:41:31 +0000 (08:41 +0200)
committerJulien Grall <julien.grall@citrix.com>
Mon, 28 Sep 2015 11:05:15 +0000 (12:05 +0100)
commit19a3251f8f58a89c14d9796d82770c759e749bcd
treeb88c916931858416eef17b0ed9c040964572d298
parent1289202536d8bc2342d6b27e9664d6958d3515ed
arm64/efi: ignore DT memreserve entries instead of removing them

Now that the reservation of the FDT image itself is split off, we
can make the DT scanning of memreserves conditional on whether we
booted via UEFI and have its memory map available. This allows us
to drop deletion of these memreserves in the stub. It also fixes
the issue where the /reserved-memory/ node (which offers another
way of reserving memory ranges) was not being ignored under UEFI.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Vadim Lomovtsev <Vadim.Lomovtsev@caviumnetworks.com>
arch/arm64/mm/init.c
drivers/firmware/efi/libstub/fdt.c