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:
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