Skip to content
Commit 34d425fb authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Anas Nashif
Browse files

arm64: switch to the IRQ stack during ISR execution



Avoid executing ISRs using the thread stack as it might not be sized
for that. Plus, we do have IRQ stacks already set up for us.

The non-nested IRQ context is still (and has to be) saved on the thread
stack as the thread could be preempted.

The irq_offload case is never nested and always invoked with the
sched_lock held so it can be simplified a bit.

Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
parent 6381ee73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment