]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: LPAE: MMU setup for the 3-level page table format
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 31 Jan 2011 13:50:43 +0000 (13:50 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 20 Sep 2011 13:17:40 +0000 (14:17 +0100)
commitde66ddbf6f07e7e4bf9db55faf05969d9499d77f
tree7e46c256f7b46bf1f8a038480bdcd5f67521541d
parented417749c581c8340a2884d812097a42b36b3cbe
ARM: LPAE: MMU setup for the 3-level page table format

This patch adds the MMU initialisation for the LPAE page table format.
The swapper_pg_dir size with LPAE is 5 rather than 4 pages. A new
proc-v7lpae.S file contains the initialisation, context switch and
save/restore code for ARMv7 with the LPAE. The TTBRx split is based on
the PAGE_OFFSET with TTBR1 used for the kernel mappings. The 36-bit
mappings (supersections) and a few other memory types in mmu.c are
conditionally compiled.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/kernel/head.S
arch/arm/mm/Makefile
arch/arm/mm/mmu.c
arch/arm/mm/proc-macros.S
arch/arm/mm/proc-v7lpae.S [new file with mode: 0644]