jasonbu opened a new pull request, #14363:
URL: https://github.com/apache/nuttx/pull/14363

   ## Summary
   When sig dispatch do up_schedule_sigaction, need to make a new frame to run 
arm_sigdeliver. But the exception_direct cannot handle xcp.regs as we are using 
c-function exception handler.
   Need to use exception_common to handle SMP call.
   
   issue from https://github.com/apache/nuttx/pull/13606#issuecomment-2406601519
   @masayuki2009 please review the update, and see it at your environments also 
work as expected.
   
   use chip specific vector cxd56_vectors to make CXD56_IRQ_SMP_CALL not use 
c-call version exception handler.
   
   ## Impact
   can pass the self-test in Spresense CPU=3 case.
   for self-test, the _vector still in .map, maybe we should add option to make 
unique between cxd56_vectors and _vectors.
   
   ## Testing
   CI-test.
   ```bash
   ./tools/configure.sh -l spresense/smp 
   kconfig-tweak --set-val CONFIG_SMP_NCPUS 3
   make -j
   ./tools/flash_writer.py -s -c /dev/ttyUSB0 -d -b 115200 -n nuttx.spk
   minicom -D /dev/ttyUSB0 -b 115200 -C log/ttysprense-$(date 
+"%Y-%m-%d-%H-%M-%S").log
   ostest
   ```
   


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