arm64: Add boot time configuration of Intermediate Physical Address size
authorRadha Mohan Chintakuntla <rchintakuntla@cavium.com>
Fri, 7 Mar 2014 08:49:25 +0000 (08:49 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:38 +0000 (17:18 +0200)
commit1fd8c219ef68ef56a4a0b0effa66c38e409697eb
treeb430ec616462068c2e60f3316588548243e546a1
parent500d9e60bb1f98d24a2780542a68d6a1ffc32315
arm64: Add boot time configuration of Intermediate Physical Address size

ARMv8 supports a range of physical address bit sizes. The PARange bits
from ID_AA64MMFR0_EL1 register are read during boot-time and the
intermediate physical address size bits are written in the translation
control registers (TCR_EL1 and VTCR_EL2).

There is no change in the VA bits and levels of translation.

Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
Reviewed-by: Will Deacon <Will.deacon@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 87366d8cf7b3f6dc34633938aa8766e5a390ce33)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/include/asm/kvm_arm.h
arch/arm64/include/asm/pgtable-hwdef.h
arch/arm64/kvm/hyp-init.S
arch/arm64/mm/proc.S