I am working with GICV3 on a Cortex A53 that is currently in aarcH32 EL2 state.
When I try to read the ICC_HSRE I get an undefined instruction and the system crashes.
The instruction I am using is
mrc p15, 4, r7, c12, c9, 5 @ ICC_HSRE
mrc p15, 4, r7, c12, c9, 5
Any idea what is wrong here, and why I get an undefined instruction.
In aarch32 EL2, I am pretty sure this is the register that should be used to access the GIC System Register Enable Register?
One possibility is that you need to set ICC_MSRE.Enable or ICC_SRE_EL3.Enable (depending on whether EL3 in AArch32 or not), as otherwise accesses to ICC_HSRE will be undefined.
View all questions in Cortex-A / A-Profile forum