How to ensure the safety of SP_EL0

Hi experts,

In ARMv8, EL1/2/3 can use either their own stack pointer, SP_ELx or SP_EL0.

SP_EL0 can be used in EL0.

why it is safe to use SP_EL0 in EL1/2/3?  I think the applications in EL0 may get the data of kernel in EL1 through SP_EL0.   

Can anybody explain why? Thank you! 

Parents Reply Children
No data
More questions in this forum