-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
intel_adsp_cavs15: run tests/kernel/smp/ failed on ADSP #34152
Comments
It seems that the testcase is OK, in passed on up_squared platform. It is very likely that there is a problem with the ADSP platform. We need an expert in this field to have a look. |
failure confirmed |
@andyross @nashif Then twister will timeout. |
A few mistakes in recent changes to this test: There was a "LOCK_NO" (i.e. no locking!) case being exercised in test_inc_concurrency, where three threads would race against each other incrementing and decrementing a single count without synchronization. And... it failed on cAVS. Because there was no synchronization. Just remove. The LOCK_IRQ (irq_un/lock()) case of the same test was was casting taking a pointer to an integer (that stored the irq_lock() result) and casting the pointer value to an integer instead of dereferencing it. Also the workq test had a work item on the stack, which is forbidden when KERNEL_COHERENCE=y Fixes zephyrproject-rtos#34152 Signed-off-by: Andy Ross <[email protected]>
A few mistakes in recent changes to this test: There was a "LOCK_NO" (i.e. no locking!) case being exercised in test_inc_concurrency, where three threads would race against each other incrementing and decrementing a single count without synchronization. And... it failed on cAVS. Because there was no synchronization. Just remove. The LOCK_IRQ (irq_un/lock()) case of the same test was was casting taking a pointer to an integer (that stored the irq_lock() result) and casting the pointer value to an integer instead of dereferencing it. Also the workq test had a work item on the stack, which is forbidden when KERNEL_COHERENCE=y Fixes #34152 Signed-off-by: Andy Ross <[email protected]>
Describe the bug
run this testcase failed on ADSP
To Reproduce
Steps to reproduce the behavior:
Logs and console output
Environment (please complete the following information):
OS: Fedora28
Toolchain: Zephyr-sdk-0.12.3
Commit id: 5f42a3d
The text was updated successfully, but these errors were encountered: