ARM: mm: Recreate kernel mappings in early_paging_init()
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Wed, 31 Jul 2013 16:44:46 +0000 (12:44 -0400)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Fri, 11 Oct 2013 00:28:19 +0000 (20:28 -0400)
commita77e0c7b2774fd52ce6bf25c2c3ffdccb7b110ff
tree38b955dc032421ee71aa09c6e0bd18b31a7b3dc2
parentf52bb722547f43caeaecbcc62db9f3c3b80ead9b
ARM: mm: Recreate kernel mappings in early_paging_init()

This patch adds a step in the init sequence, in order to recreate
the kernel code/data page table mappings prior to full paging
initialization.  This is necessary on LPAE systems that run out of
a physical address space outside the 4G limit.  On these systems,
this implementation provides a machine descriptor hook that allows
the PHYS_OFFSET to be overridden in a machine specific fashion.

Cc: Russell King <linux@arm.linux.org.uk>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: R Sricharan <r.sricharan@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/include/asm/mach/arch.h
arch/arm/kernel/setup.c
arch/arm/mm/mmu.c