
3 Sep
2021
3 Sep
'21
12:41 a.m.
On Thu, Aug 19, 2021 at 04:53:10PM +0100, Peter Hoyes wrote:
From: Peter Hoyes Peter.Hoyes@arm.com
On Armv8-R, the EL1&0 memory system architecture is configurable as a VMSA or PMSA, and resets to an "architecturally unknown" value.
Add code to armv8_switch_to_el1_m which detects whether the MSA at EL1&0 is configurable using the id_aa64mmfr0_el1 register MSA fields. If it is we must ensure the VMSA is enabled so that a rich OS can boot.
The MSA and MSA_FRAC fields are described in the Armv8-R architecture profile supplement (section G1.3.7): https://developer.arm.com/documentation/ddi0600/latest/
Signed-off-by: Peter Hoyes Peter.Hoyes@arm.com
Applied to u-boot/next, thanks!
--
Tom