eenurkka opened a new pull request, #7527:
URL: https://github.com/apache/incubator-nuttx/pull/7527

   After the commit b8b541f, the system would not start up properly with 
certain coldboot conditions. For example, if the OpenSBI picked hart4 as the 
coldboot hart in preference to hart3, the system would get stuck due to stack 
corruption. OpenSBI uses a lottery mechanism to pick the coldboot hart.
   
   Also fix g_scratches area in such a manner than it will not get initialized 
to zero. If several harts initialize the area to zero, there's danger the stack 
pointer gets wiped out.
   
   Now any coldboot hart works.
   
   Signed-off-by: Eero Nurkkala <[email protected]>
   
   ## Summary
   
   Some coldboot harts caused stack corruption, fix the issue
   
   ## Impact
   
   MPFS with booting Linux kernel
   
   ## Testing
   
   MPFS Icicle board, with forced coldboot configs


-- 
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