[PATCH for-v4.2 1/4] of/fdt: split off FDT self reservation from memreserve processing

Catalin Marinas catalin.marinas at arm.com
Mon Jun 1 10:33:30 PDT 2015


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).

Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list