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)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 5 Nov 2013 17:23:52 +0000 (17:23 +0000)
commit847264fb7e73ade5b5e4b6eea3daa243a1f5217e
tree3688d8bf1cd8f06e8bff978922d14c79406f5ce8
parent122e2fa0d310d262cb85cf0b003032e5d2bc2ae7
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>
Documentation/arm64/memory.txt
arch/arm64/include/asm/memory.h
arch/arm64/include/asm/pgtable-2level-hwdef.h
arch/arm64/include/asm/pgtable.h