-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Open
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bug
Description
Describe the bug
Same as on the real hardware: #98746
Occurs on platform:
- intel_adsp/ace20_lnl/sim
- intel_adsp/ace30_ptl/sim
There is failed test with statuses:
| test suite | test case | test suite status | test case status | fails reason |
|---|---|---|---|---|
| kernel.pipe.api | k_pipe_concurrency.zero_size_pipe_read_write | failed | failed | rc-2 |
| kernel.pipe.api | k_pipe_stress.write | failed | blocked | rc-2 |
| kernel.pipe.api | k_pipe_stress.read | failed | blocked | rc-2 |
Regression
- This is a regression.
Steps to reproduce
twister -p intel_adsp/ace20_lnl/sim --device-testing --hardware-map hw-map-file -s kernel.pipe.api
twister -p intel_adsp/ace30_ptl/sim --device-testing --hardware-map hw-map-file -s kernel.pipe.api
Relevant log output
Fail log for test suite on platform: intel_adsp/ace20_lnl/sim.
Failed reason: rc=2
Test suite name: kernel.pipe.api
ninja: Entering directory `/zephyr/twister-out/intel_adsp_ace20_lnl_sim/xt-clang/tests/kernel/pipe/pipe_api/kernel.pipe.api'
[0/1] cd /zephyr/twister-out/intel_adsp_ace20_lnl_sim/xt-clang/tests/kernel/pipe/pipe_api/kernel.pipe.api && /zephyr/intel/std_sim/acesim.py --soc ace20_lnl --rimage /zephyr/twister-out/intel_adsp_ace20_lnl_sim/xt-clang/tests/kernel/pipe/pipe_api/kernel.pipe.api/zephyr/zephyr.ri
[TOOL]: DSP SIM TOOL, built Sep 6 2024 at 14:53:17
[TOOL]: No outputsfiles to load
Starting: /zephyr/intel/std_sim/intel_ace20_lnl/dsp_sim-lnl-m --api.connection_id=1217306 --loadbin=/zephyr/intel/std_sim/intel_ace20_lnl/dsp_rom_lnl_release.bin --config=/tmp/acesim.tmpbg9aqgz0/acesim.tmp0fez26zk --turbo=true
Simulator started with pid: 1217310
SystemC 2.3.3-Accellera --- Nov 30 2022 15:33:42
Copyright (c) 1996-2018 by all Contributors,
ALL RIGHTS RESERVED
NOTE: 0.0/000: 0[ms]: Log level taken from [cmd] or [config] = NOTE
NOTE: 0.0/000: 0[ms]: Standalone DSP simulator, version 1.2.0.9490, built Sep 6 2024 at 14:53:18
NOTE: 0.0/000: 0[ms]: -------------------------------------------------------------------------------------
NOTE: 0.0/000: 0[ms]: PLATFORM: lnl-m
NOTE: 0.0/000: 0[ms]: CORE: ace10_LX7HiFi4_2022_10
NOTE: 0.0/000: 0[ms]: CORE CONFIG DIR: /opt/toolchains/xtensa/XtDevTools/install/tools/RI-2022.10-linux/XtensaTools/config
NOTE: 0.0/000: 0[ms]: XTENSA TOOLS VERSION: RI-2022.10-linux
NOTE: 0.0/000: 0[ms]: TEXT LOGGING CONFIG DIR: /zephyr/intel/std_sim/text_logging_config/log_level_1.txt
NOTE: 0.0/000: 0[ms]: CONFIG DIR: /tmp/acesim.tmpbg9aqgz0/acesim.tmp0fez26zk
NOTE: 0.0/000: 0[ms]: TURBO MODE: Enabled
NOTE: 0.0/000: 0[ms]: GNA LIB VERSION: 4.5.0.2631
NOTE: 0.0/000: 0[ms]: -------------------------------------------------------------------------------------
NOTE: 0.0/000: 0[ms]: Connecting host_fabric to dsp_fabric
NOTE: 0.0/000: 0[ms]: Creating DSP Core0 with following params: core_id: 0, core_type: 0, l1_mmio_name:dram0
NOTE: 0.0/000: 0[ms]: Creating DSP Core1 with following params: core_id: 1, core_type: 1, l1_mmio_name:dram0
NOTE: 0.0/000: 0[ms]: Creating DSP Core2 with following params: core_id: 2, core_type: 1, l1_mmio_name:dram0
NOTE: 0.0/000: 0[ms]: Creating DSP Core3 with following params: core_id: 3, core_type: 1, l1_mmio_name:dram0
NOTE: 0.0/000: 0[ms]: Creating DSP Core4 with following params: core_id: 4, core_type: 1, l1_mmio_name:dram0
NOTE: 0.0/000: 0[ms]: Building host...
NOTE: 0.0/000: 0[ms]: Building host module...
NOTE: 0.0/000: 0[ms]: Building host module... DONE
NOTE: 0.0/000: 0[ms]: Creating host mmio...
NOTE: 0.0/000: 0[ms]: Connect mmio to fabric...
NOTE: 0.0/000: 0[ms]: Creating host memory...
NOTE: 0.0/000: 0[ms]: Connecting memory to fabric...
NOTE: 0.0/000: 0[ms]: Host memory... DONE
NOTE: 0.0/000: 0[ms]: Configuring module dsp_mmio
NOTE: 0.0/000: 0[ms]: Connecting module dsp_mmio to fabric... Port: 0
NOTE: 0.0/000: 0[ms]: Configuring IMR... (delay=623)
NOTE: 0.0/000: 0[ms]: Connecting IMR to fabric...
NOTE: 0.0/000: 0[ms]: Connecting HPSRAM to fabric...
NOTE: 0.0/000: 0[ms]: Configuring LPSRAM
NOTE: 0.0/000: 0[ms]: Connecting LPSRAM to fabric...
NOTE: 0.0/000: 0[ms]: Building ace interrupts...
NOTE: 0.0/000: 0[ms]: Building ace interrupts... DONE
NOTE: 0.0/000: 0[ms]: Building ace controls...
NOTE: 0.0/000: 0[ms]: Creating misc(DTF, SETIDVAL) control...
NOTE: 0.0/000: 0[ms]: Creating comm widget...
NOTE: 0.0/000: 0[ms]: Creating tlb module on HP SRAM...
NOTE: 0.0/000: 0[ms]: Connecting TLB to mmio...
NOTE: 0.0/000: 0[ms]: Connecting tlb module to fabric...
NOTE: 0.0/000: 0[ms]: Creating hda_dma...
NOTE: 0.0/000: 0[ms]: Connecting hda_dma to fabric
NOTE: 0.0/000: 0[ms]: Connecting GNA accelerator to dsp fabric
NOTE: 0.0/000: 0[ms]: Simulation initialization done, took: 1.0s, starting simulation...
[TOOL]: Initializing
[TOOL]: Initializing IOB Manager
[TOOL]: Executing step: LOAD_ROM_EXT (file_id=rom_ext_bin)
[TOOL]: Loading ROM_EXT: '/zephyr/intel/std_sim/intel_ace20_lnl/dsp_lib_rom_ext_lnl_release.bin'
[TOOL]: Executing step: LOAD_FW (commands: #1, file_id=fw_bin)
[TOOL]: Loading FW: '/tmp/acesim.tmpbg9aqgz0/acesim.tmpchrb27k2'
[TOOL]: Streamer: creating stream: streamer_type=INPUT file_type=FW node_id=0x0 file=/tmp/acesim.tmpbg9aqgz0/acesim.tmpchrb27k2
[TOOL]: Streamer: node_id=0x0 sent: 262144 bytes (262144/262144)
[TOOL]: Streamer: node_id=0x0 processed data drained
[TOOL]: Streamer: node_id=0x0 sent: 0 bytes (262144/262144)
[TOOL]: Got IPC: primary=0x9b080000, extension=0x0, type: NOTIFICATION (27)
[TOOL]: Notification, type: FW_READY
*** Booting Zephyr OS build v4.3.0-rc1-122-gfb01c781b6c0 ***
Running TESTSUITE k_pipe_basic
===================================================================
[TOOL]: Notification FwReadyNotification received!
[TOOL]: Executing step: WAIT (type=SLEEP, duration=60)
START - test_close
PASS - test_close in 0.001 seconds
===================================================================
START - test_init
PASS - test_init in 0.001 seconds
===================================================================
START - test_read_empty
PASS - test_read_empty in 1.004 seconds
===================================================================
START - test_read_write_full
PASS - test_read_write_full in 0.001 seconds
===================================================================
START - test_read_write_wrapp_around
PASS - test_read_write_wrapp_around in 0.001 seconds
===================================================================
START - test_reset
PASS - test_reset in 0.001 seconds
===================================================================
START - test_write_full
PASS - test_write_full in 1.007 seconds
===================================================================
START - test_write_read_multiple
PASS - test_write_read_multiple in 0.001 seconds
===================================================================
START - test_write_read_one
PASS - test_write_read_one in 0.000 seconds
===================================================================
TESTSUITE k_pipe_basic succeeded
Running TESTSUITE k_pipe_concurrency
===================================================================
START - test_close_on_read
PASS - test_close_on_read in 0.108 seconds
===================================================================
START - test_close_on_write
PASS - test_close_on_write in 0.110 seconds
===================================================================
START - test_partial_read
PASS - test_partial_read in 0.510 seconds
===================================================================
START - test_partial_write
PASS - test_partial_write in 1.010 seconds
===================================================================
START - test_reset_on_read
PASS - test_reset_on_read in 0.110 seconds
===================================================================
START - test_reset_on_write
PASS - test_reset_on_write in 0.110 seconds
===================================================================
START - test_zero_size_pipe_read_write
ASSERTION FAIL [wait_q == ((void*)0) || arch_mem_coherent(wait_q)] @ ZEPHYR_BASE/kernel/sched.c:546
E: ** FATAL EXCEPTION
E: ** CPU 0 EXCCAUSE 63 (zephyr exception)
E: ** PC 0xa0031a37 VADDR 0
E: ** PS 0x60a20
E: ** (INTLEVEL:0 EXCM: 0 UM:1 RING:0 WOE:1 OWB:10 CALLINC:2)
E: ** A0 0xa0034598 SP 0xa00408d0 A2 0x4 A3 0x1
E: ** A4 0xa00408c0 A5 0x4 A6 0x20000 A7 0x40046ecc
E: ** A8 0xa00344d8 A9 0xa00407d0 A10 0x64 A11 0xa003bfb3
E: ** A12 0xa00407ef A13 0 A14 0 A15 0
E: ** LBEG 0xa003a251 LEND 0xa003a25e LCOUNT 0xffffffe4
E: ** SAR 0x18
E: ** THREADPTR 0
Backtrace:0xa0031a34:0xa00408d0 0xa0034595:0xa00408e0 0xa00374b6:0xa0040900 0xa0037590:0xa0040920 0xa0038648:0xa0040950 0xa00385bb:0xa0040970 0xa0033fa2:0xa00409c0 0xa0036236:0xa0040a90 0xa003453f:0xa0040ab0
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Current thread: 0x400469f0 (test_zero_size_pipe_read_write)
E: Halting systemImpact
Annoyance – Minor irritation; no significant impact on usability or functionality.
Environment
- OS: Ubuntu 24.02
- Zephyr version: v4.3.0-rc1-122-gfb01c781b6c0
- toolchain: zephyr
- SDK: 0.17.4
Additional Context
No response
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bug