You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "anchao (via GitHub)" <gi...@apache.org> on 2024/03/28 06:54:24 UTC

[PR] qemu/armv7a: add Symmetric Multi-Processing (SMP) support [nuttx]

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

   ## Summary
   
   qemu/armv7a: add Symmetric Multi-Processing (SMP) support
   
   Bringup Co-Processor by PSCI(Power State Coordination Interface)
   
   Signed-off-by: chao an <an...@lixiang.com>
   
   
   ## Impact
   
   N/A
   
   ## Testing
   
   qemu-armv7a/smp with ostest
   
   ```
   nuttx$ qemu-system-arm -cpu cortex-a7 -nographic      -machine virt,virtualization=off,gic-version=2 -net none -chardev stdio,id=con,mux=on -serial chardev:con -mon chardev=con,mode=readline -kernel ./nuttx -smp 4 
   
   NuttShell (NSH) NuttX-10.4.0
   nsh> ps
     PID GROUP CPU PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK           STACK   USED  FILLED COMMAND
       0     0   0   0 FIFO     Kthread   - Assigned           0000000000000000 004080 000576  14.1%  CPU0 IDLE
       1     1   1   0 FIFO     Kthread   - Running            0000000000000000 004080 000408  10.0%  CPU1 IDLE
       2     2   2   0 FIFO     Kthread   - Running            0000000000000000 004080 000408  10.0%  CPU2 IDLE
       3     3   3   0 FIFO     Kthread   - Running            0000000000000000 004080 000408  10.0%  CPU3 IDLE
       4     4 --- 192 RR       Kthread   - Waiting  Semaphore 0000000000000000 004032 000304   7.5%  hpwork 0x4013eabc 0x4013ead0
       5     5   0 100 RR       Task      - Running            0000000000000000 004056 001200  29.5%  nsh_main
   nsh> uname -a
   NuttX 10.4.0 e6ec735ca3 Mar 28 2024 14:52:33 arm qemu-armv7a
   nsh> 
   ```
   


-- 
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-unsubscribe@nuttx.apache.org

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


Re: [PR] qemu/armv7a: add Symmetric Multi-Processing (SMP) support [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #12018:
URL: https://github.com/apache/nuttx/pull/12018


-- 
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-unsubscribe@nuttx.apache.org

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