-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
up_squared_adsp:running tests/kernel/smp/ failed #28590
Comments
In smp_init_top(), it initializes a dummy thread and set it to be the current thread. The _current_cpu macro asserts on intel_apl_adsp since interrupts are unmasked at smp entry. So don't unmask. Fixes zephyrproject-rtos#28590 Signed-off-by: Daniel Leung <[email protected]>
This will be fixed by #26483 |
@KangJianX Could you re-test? The SOF PR has been merged which should fix this. |
@dcpleung I can't re-test, all test cases are skiped when I run (sanitycheck -W -p up_squared_adsp --device-testing -T tests/kernel/smp/ --west-flash="/home/ztest/work/zephyrproject/zephyr/boards/xtensa/up_squared_adsp/tools/up_squared_adsp_flash.sh, /home/ztest/work/sof/rimage/keys/otc_private_key.pem" --device-serial-pty="/home/ztest/work/ambient/set_ambient /home/ztest/work/zephyrproject/zephyr/boards/xtensa/up_squared_adsp/tools/mbterm.py" -x=CONFIG_IPM=y -x=CONFIG_CONSOLE=y -x=CONFIG_LOG_PRINTK=n) this cmd. I block by https://github.com/zephyrproject-rtos/zephyr/issues/29430 |
Verify this issue, it is fixed. |
Describe the bug
running tests/kernel/smp/ error, it showed assertion failed.
To Reproduce
Steps to reproduce the behavior:
sanitycheck -W -p up_squared_adsp --device-testing -T tests/kernel/smp/ --west-flash="/home/ztest/work/zephyrproject/zephyr/boards/xtensa/up_squared_adsp/tools/up_squared_adsp_flash.sh, /home/ztest/work/sof/rimage/keys/otc_private_key.pem" --device-serial-pty="/home/ztest/work/ambient/set_ambient /home/ztest/work/zephyrproject/zephyr/boards/xtensa/up_squared_adsp/tools/mbterm.py" -x=CONFIG_IPM=y -x=CONFIG_CONSOLE=y -x=CONFIG_LOG_PRINTK=n
see error
*** Booting Zephyr OS build v2.4.0-rc2-23-g2cd556a689e3 ***
ASSERTION FAIL [!z_smp_cpu_mobile()] @ WEST_TOPDIR/zephyr/kernel/include/kswap.h:198
@ WEST_TOPDIR/zephyr/lib/os/assert.c:45
Environment (please complete the following information):
OS: Fedora28
Toolchain: Zephyr-sdk-0.11.3
Commit ID: 2cd556a
The text was updated successfully, but these errors were encountered: