You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/02/04 06:32:43 UTC

[GitHub] [incubator-nuttx] masayuki2009 commented on issue #207: SMP for Cortex-A MPcore is unstable

masayuki2009 commented on issue #207: SMP for Cortex-A MPcore is unstable
URL: https://github.com/apache/incubator-nuttx/issues/207#issuecomment-581763631
 
 
   I thought the memory corruption issue relates to an IPI (Inter Processor Interrupt) issue.
   But I noticed that there was no nested interrupts. 
   
   Also, I noticed that there is a global temporary storage called irqtmp in arm_vectorirq.S.
   I'm not sure why this storage is needed for Cortex-A implementation (perhaps, to store 
   registers to change processor mode?) but the irqtmp would be accessed from multiple
   CPUs so I think the storage should be protected or should be allocated per CPU.
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services