[PATCH V2] arm64: KVM: Configure TCR_EL2.ps at runtime

2016-02-09 Thread tchalamarla
From: Tirumalesh Chalamarla Setting TCR_EL2.ps to 40 bits is wrong on systems with ps size is less than 40 bits. and with systems where RAM is at higher address, this will break KVM. This patch sets TCR_EL2.ps at runtime similar to VTCR_EL.ps Signed-off-by:

[PATCH] arm64: KVM: Add 48bit PA support for EL2 translations

2016-02-05 Thread tchalamarla
From: Tirumalesh Chalamarla Systems where RAM is at higher address and MultiNode systems whith higher address RAM, 39 bit max PA for EL2 translations is not sufficient. This patch sets max possible PA(48bit) for EL2 translations. Signed-off-by: Tirumalesh