Skip to content
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

test: tests/subsys/zbus/hlp_priority_boost/message_bus.zbus.hlp_priority_boost FATAL ERROR on intel_adsp/cavs25 #79368

Open
KamilxPaszkiet opened this issue Oct 3, 2024 · 0 comments · May be fixed by #79388
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: Intel ADSP Intel Audio platforms

Comments

@KamilxPaszkiet
Copy link
Collaborator

Describe the bug
Tests tests/subsys/zbus/hlp_priority_boost/message_bus.zbus.hlp_priority_boost
ZEPHYR FATAL ERROR 0: CPU exception on CPU 1 on intel_adsp/cavs25
Test timeout

To Reproduce
west twister -p intel_adsp/cavs25 -s tests/subsys/zbus/hlp_priority_boost/message_bus.zbus.hlp_priority_boost
or
west build -p -b intel_adsp/cavs25 tests/subsys/zbus/hlp_priority_boost -T message_bus.zbus.hlp_priority_boost

Logs and console output

*** Booting Zephyr OS build v3.7.0-3695-ga6ed05e76532 (delayed boot 500ms) ***
Running TESTSUITE hlp_priority_boost
===================================================================
START - test_priority_elevation
E:  ** FATAL EXCEPTION
msub1 level: 0
E:  ** CPU 1 EXCCAUSE 13 (load/store PIF data error)
E:  **  PC 0xbe019e40 VADDR 0
E:  **  PS 0x60e20
E:  **    (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:14 CALLINC:2)
E:  **  A0 0xbe014575  SP 0xbe01f850  A2 0xbe01f880  A3 0
E:  **  A4 0x9e01dcd0  A5 0xbe01f880  A6 0  A7 0x9e01dcd
E:  **  A8 0x40000000  A9 0xbe01f810 A10 0 A11 0x1
E:  ** A12 0x9e025091 A13 0x9e02578c A14 0xffffffff A15 0
E:  ** LBEG 0 LEND 0 LCOUNT 0
E:  ** SAR 0x8
E:  **  THREADPTR 0


Backtrace:0xbe019e3d:0xbe01f850 0xbe014572:0xbe01f860 0xbe0118b3:0xbe01f880 0xbe0122e7:0xbe01f8b0 

E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 1
E: Current thread: 0x9e0[250](https://github.com/intel-innersource/os.rtos.zephyr.zephyr/actions/runs/11123755711/job/31027007711#step:11:251)90 (unknown)
E: Halting system
msub1 level: 2
msub1 level: 5

Environment:

  • Linux Ubuntu 22.04
  • Toolchain: Zephyr SDK 16.8
  • Zephyr version: v3.7.0-3695-ga6ed05e76532
@KamilxPaszkiet KamilxPaszkiet added bug The issue is a bug, or the PR is fixing a bug platform: Intel ADSP Intel Audio platforms labels Oct 3, 2024
dcpleung added a commit to dcpleung/zephyr that referenced this issue Oct 3, 2024
All Intel Audio DSP platforms have non-coherent cache between
CPUs. So the zbus_channel struct data goes out-of-sync between
CPUs with multiple producer and consumer threads running
concurrently on multiple CPUs, resulting in bad pointer being
used, e.g. passed to memcpy(). So exclude these platforms from
running in twister as they are certain to fail.

Fixes: zephyrproject-rtos#79368

Signed-off-by: Daniel Leung <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: Intel ADSP Intel Audio platforms
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants