jlaitine commented on PR #16673:
URL: https://github.com/apache/nuttx/pull/16673#issuecomment-3185858003

   > We found a new issue on ESP32-S3 with SMP + SPI Flash enabled:
   > 
   > The `spi_flash_op_block_task` doesn't run on the second core (it was 
created within the critical section). It keeps present on `g_readytorun` list 
(its affinity set to run only in the second core), but it's never scheduled to 
run on it. This also prevents other tasks to run (as this is the task with 
higher priority).
   > 
   
   Could you share the code / modifications which works and what doesn't work?
   
   Only thing which should prevent the task running on the second core would be 
that it is already running a sched-locked task (which can't be scheduled out).
   
   I didn't quite understand what you mean with inner/outer loops etc; so maybe 
share the modified spiflash driver code to help me understand the issue better?
   


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to