masayuki2009 commented on PR #11226:
URL: https://github.com/apache/nuttx/pull/11226#issuecomment-1825112643
Modify nsh_smp/defconfig as follows
```
--- a/boards/arm64/qemu/qemu-armv8a/configs/nsh_smp/defconfig
+++ b/boards/arm64/qemu/qemu-armv8a/configs/nsh_smp/defconfig
@@ -50,6 +50,7 @@ CONFIG_RR_INTERVAL=200
CONFIG_SCHED_HPWORK=y
CONFIG_SCHED_HPWORKPRIORITY=192
CONFIG_SMP=y
+CONFIG_SMP_NCPUS=2
CONFIG_STACK_COLORATION=y
CONFIG_START_MONTH=3
CONFIG_START_YEAR=2022
```
Then try the latest master with
https://github.com/apache/nuttx-apps/pull/2208 and confirm that the issue (i.e.
[CPU1] wdt_feed_thread_entry, line 53 is not shown after executing hello app)
```
NuttShell (NSH) NuttX-12.0.0
nsh> una[CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
me -a
NuttX 12.0.0 438cb4a16a-dirty Nov 24 2023 12:34:57 arm64 qemu-armv8a
nsh> [CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
[CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
[CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
hello[CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
[CPU1] task_spawn: name=hello entry=0x402a7f54 file_actions=0x403e02c8
attr=0x403e02d0 argv=0x403e03d0
[CPU1] spawn_execattrs: Setting policy=2 priority=100 for pid=6
Hello, World!!
[CPU1] group_drop: Keep group 0x40463210 (waiters > 0)
nsh> [CPU0] wdt_feed_thread_entry, line 53
[CPU0] wdt_feed_thread_entry, line 53
[CPU0] wdt_feed_thread_entry, line 53
[CPU0] wdt_feed_thread_entry, line 53
[CPU0] wdt_feed_thread_entry, line 53
[CPU0] wdt_feed_thread_entry, line 53
```
Then try the latest master with this PR +
https://github.com/apache/nuttx-apps/pull/2208 and confirm that the issue is
now resolved.
```
NuttShell (NSH) NuttX-12.0.0
nsh> u[CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
name -a
NuttX 12.0.0 61b789886e-dirty Nov 24 2023 12:41:30 arm64 qemu-armv8a
nsh> [CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
[CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
[CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
hell[CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
o
[CPU1] task_spawn: name=hello entry=0x402a7df4 file_actions=0x403e02c8
attr=0x403e02d0 argv=0x403e03d0
[CPU1] spawn_execattrs: Setting policy=2 priority=100 for pid=6
Hello, World!!
[CPU1] group_drop: Keep group 0x40463210 (waiters > 0)
nsh> [CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
[CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
[CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
[CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
[CPU0] wdt_feed_thread_entry, line 53
[CPU1] wdt_feed_thread_entry, line 53
```
--
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]