zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.49k stars 6.42k forks source link

arch: riscv: update ARCH_STACK_PTR_ALIGN on RV32E to 4 bytes fails testing at nrf54l15 cpuflpr #76996

Closed nordic-piks closed 1 week ago

nordic-piks commented 1 month ago

Describe the bug The tests: ~ 200 tests are affected. example: zephyr/tests/drivers/timer/nrf_grtc_timer

Observed for

To Reproduce Steps to reproduce the behavior:

  1. have nrf54l15pdk/nrf54l15/cpuflpr connected
  2. go to your zephyr dir
  3. west build -b nrf54l15pdk/nrf54l15/cpuflpr --sysbuild -- -DSB_CONFIG_VPR_LAUNCHER=y
  4. west flash --skip-rebuild --erase
  5. See console output

Expected behavior Valid console output but there is no console output at all.

Impact Not clear

Environment (please complete the following information):

nordic-piks commented 1 month ago

I did bisect and found that #76791 cause this problem. FYI @ycsin FYI @masz-nordic @gmarull

ycsin commented 1 month ago

Probably I misunderstood the meaning of ARCH_STACK_PTR_ALIGN? I've created #77047 that should fix this issue and also keep the #76762 fixed