I would like to switch from EL1 to EL0 and update my PC in one instruction because I would like to prevent code execution in EL0 mode in my supervisor memory zone.
In order to do that I would like to use ERET instruction or to pop CPSR from stack at boot time instead of using CPS instruction.
I didn't find in the documentation a specific reason to not use ERET at boot time but when I am using it (or when i amp poping cpsr from stack "pop pc^") the behavior is erroneous.
Thanks by advance,
Sure, though I haven't seen the r52 in the wild (guess it is an automotive chip), you can PM me the outcome. I am a hunter and collector of such infos.