Hi,
I am working on Juno and I am using SCTLR_EL1 reset value based on A53 spec is = 0x00C50838
but If I look to ARMv8 spec it shows some reserved bits as 1 and considering that reset values = 0x30D50800.
I am seeing some MMU random behavior at EL1 based on reset value as the same code sometimes gives stage 1 fault and other times stage 2 fault.
Please let me know what should be the correct SCTLR_EL1 reset value ?
Thanks.
Partly it will depend on what kind of virtual world you're wanting to present to the guests.
I would probably go with emulating a world where EL2 and EL3 didn't exist. That is, for the bits the Architecture Reference Manual says have defined reset values when EL2/3 don't exist, use those values.