of/fdt: split off FDT self reservation from memreserve processing
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 1 Jun 2015 11:40:31 +0000 (13:40 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 2 Jun 2015 15:31:25 +0000 (16:31 +0100)
commit24bbd929e6b9e62afd263c42b4318d3b603c956c
tree78658f1cf02b8c511195ad9a6c927b71ee143625
parentd00a3810c16207d2541b7796a73cca5a24ea3742
of/fdt: split off FDT self reservation from memreserve processing

This splits off the reservation of the memory occupied by the FDT
binary itself from the processing of the memory reservations it
contains. This is necessary because the physical address of the FDT,
which is needed to perform the reservation, may not be known to the
FDT driver core, i.e., it may be mapped outside the linear direct
mapping, in which case __pa() returns a bogus value.

Cc: Russell King <linux@arm.linux.org.uk>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/mm/init.c
arch/arm64/mm/init.c
arch/powerpc/kernel/prom.c
drivers/of/fdt.c
include/linux/of_fdt.h
This page took 0.026956 seconds and 5 git commands to generate.