arm64: Use 42-bit address space with 64K pages
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 23 Oct 2013 15:50:07 +0000 (16:50 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 15 May 2014 19:00:55 +0000 (20:00 +0100)
commit4b905a8fdae8797cebe274d0150b4a1799b98a3e
tree91f7d7f5e3fff54bb19d5e002b751908b0d59699
parentd5c5e6a15e4786dc21a08937821b6365466d6e34
arm64: Use 42-bit address space with 64K pages

This patch expands the VA_BITS to 42 when the 64K page configuration is
enabled allowing 2TB kernel linear mapping. Linux still uses 2 levels of
page tables in this configuration with pgd now being a full page.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit 847264fb7e73ade5b5e4b6eea3daa243a1f5217e)
Signed-off-by: Mark Brown <broonie@linaro.org>
Documentation/arm64/memory.txt
arch/arm64/include/asm/memory.h
arch/arm64/include/asm/pgtable-2level-hwdef.h
arch/arm64/include/asm/pgtable.h