arm64: Add support for 48-bit VA space with 64KB page configuration
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 21 Jul 2014 14:54:50 +0000 (15:54 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 23 Jul 2014 14:28:15 +0000 (15:28 +0100)
commit383c2799113b00a5f12c820ff0fd3dfca9e5be89
treef2f9788dcbfa62fe6160cae82e67b8d83eca5bc0
parent7078db46215f9137801a122f87ac31c504220a94
arm64: Add support for 48-bit VA space with 64KB page configuration

This patch allows support for 3 levels of page tables with 64KB page
configuration allowing 48-bit VA space. The pgd is no longer a full
PAGE_SIZE (PTRS_PER_PGD is 64) and (swapper|idmap)_pg_dir are not fully
populated (pgd_alloc falls back to kzalloc).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Jungseok Lee <jungseoklee85@gmail.com>
Documentation/arm64/memory.txt
arch/arm64/Kconfig
arch/arm64/include/asm/page.h
arch/arm64/kernel/head.S