[PATCH for-v4.2 1/4] of/fdt: split off FDT self reservation from memreserve processing
catalin.marinas at arm.com
Tue Jun 2 10:16:45 PDT 2015
On Mon, Jun 01, 2015 at 09:36:28PM +0200, Ard Biesheuvel wrote:
> On 1 June 2015 at 19:33, Catalin Marinas <catalin.marinas at arm.com> wrote:
> > On Mon, Jun 01, 2015 at 01:40:31PM +0200, Ard Biesheuvel wrote:
> >> 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 at arm.linux.org.uk>
> >> Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> >> Cc: Paul Mackerras <paulus at samba.org>
> >> Acked-by: Rob Herring <robh at kernel.org>
> >> Acked-by: Mark Rutland <mark.rutland at arm.com>
> >> Acked-by: Catalin Marinas <catalin.marinas at arm.com>
> >> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> >> ---
> >> arch/arm/mm/init.c | 1 +
> >> arch/arm64/mm/init.c | 1 +
> >> arch/powerpc/kernel/prom.c | 1 +
> >> drivers/of/fdt.c | 19 ++++++++++++++-----
> >> include/linux/of_fdt.h | 2 ++
> >> 5 files changed, 19 insertions(+), 5 deletions(-)
> > I'm happy to take this patch (already acked by the DT maintainers)
> > through the arm64 tree but it would be good to have an ack from the arch
> > maintainers as well (i.e. Russell, Ben, Paul).
> OK, fair enough,
> @Ben, Paul
> Could you please indicate whether or not you have any objections to this patch?
I'm going to push this patch into -next via the arm64 tree. If there are
objections before the merging window, please let me know (looking at the
previous commits adding early_init_fdt_scan_reserved_mem(), they were
only acked by the DT maintainers).
I merged this series of 4 patches.
More information about the linux-arm-kernel