xiaoxiang781216 commented on pull request #4400:
URL: https://github.com/apache/incubator-nuttx/pull/4400#issuecomment-905133292


   After the discussion, it's wrong to initialize the interrupt stack in the 
abort handler. Because the irq handler may generate the abort and the 
initialization in abort handler will destroy the irq stack content. So, the 
possible solution is:
   
   1. Keep as before which mean abort handler will use the same stack before 
aborting regardless CONFIG_ARCH_INTERRUPTSTACK
   2. Add abort stack if CONFIG_ARCH_INTERRUPTSTACK > 0 like irq/fiq
   
   Since the system normally will reboot in abort handler, item 1 is a 
reasonable action.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to