arm64: mm: Introduce 52-bit Kernel VAs
authorSteve Capper <steve.capper@arm.com>
Wed, 7 Aug 2019 15:55:22 +0000 (16:55 +0100)
committerWill Deacon <will@kernel.org>
Fri, 9 Aug 2019 10:17:26 +0000 (11:17 +0100)
commitb6d00d47e81a49f6cf462518c10408f37a3e6785
treef84df6281b176ab0f3c2fea47d8b9ef233f15b6a
parentce3aaed87344c83c77135f80e7b76e1da9c92ee6
arm64: mm: Introduce 52-bit Kernel VAs

Most of the machinery is now in place to enable 52-bit kernel VAs that
are detectable at boot time.

This patch adds a Kconfig option for 52-bit user and kernel addresses
and plumbs in the requisite CONFIG_ macros as well as sets TCR.T1SZ,
physvirt_offset and vmemmap at early boot.

To simplify things this patch also removes the 52-bit user/48-bit kernel
kconfig option.

Signed-off-by: Steve Capper <steve.capper@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/Kconfig
arch/arm64/include/asm/assembler.h
arch/arm64/include/asm/memory.h
arch/arm64/include/asm/mmu_context.h
arch/arm64/include/asm/pgtable-hwdef.h
arch/arm64/kernel/head.S
arch/arm64/mm/init.c
arch/arm64/mm/proc.S