This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARMV8-M CPU State when secure API called by none-secure irq

If SOC is ARMV8-M Mainline.

If a secure world api called within a none-secure world IRQ handler, after enter the secure state, What the mode the CPU is? Handler mode or Thread mode? and if it is handler mode, dose still the MSP is the SP used by CPU.

For example.

1) In none-secure world, issue a SVC call, 2) CPU enter the none-secure world SVC handler, 3) in the SVC handler, call to a secure-world method

4) cpu change to secure state and execute the method being called, at this moment what the CPU mode is, still handler mode or others. 

Thanks!