Skip to content

[intel/wov-d0i3-002] west.yml: switch Zephyr to upstream zephyrproject at 25851fa15cd - #11562

Merged
lgirdwood merged 2 commits into
thesofproject:intel/wov-d0i3-002from
lgirdwood:wov-d0i3-002-zephyr-upstream
Nov 30, 2026
Merged

lgirdwood merged 2 commits into
thesofproject:intel/wov-d0i3-002from
lgirdwood:wov-d0i3-002-zephyr-upstream

Conversation

@lgirdwood

Copy link
Copy Markdown
Member

Summary

Switches intel/wov-d0i3-002's west.yml from the lgirdwood Zephyr fork back to upstream zephyrproject-rtos/zephyr, aligned with SOF main's Zephyr revision (25851fa15cdc2dc9c395807bce97fa81c46c10ee).

The previously pinned UAOL dynamic service interval commit (c6fe30bc343) is already merged in upstream Zephyr along with subsequent UAOL fixes (feedback stream, rate adjustment, timeout reduction, and userspace support).

Commits

  1. zephyr: alloc: place L3 heap after the firmware image in IMR (cherry-picked from main commit 27404eb35) — required because upstream Zephyr commit 7ff9bcc20cf removed the static IMR_L3_HEAP_BASE macro, and prevents the L3 heap from overlapping large firmware images in IMR on D3 resume.
  2. west.yml: switch zephyr to upstream zephyrproject at 25851fa15cd — removes the lgirdwood remote and points zephyr to remote: zephyrproject at 25851fa15cdc2dc9c395807bce97fa81c46c10ee.

Testing

Clean west build -p always with -DEXTRA_CFLAGS=-Werror -DEXTRA_CXXFLAGS=-Werror -DEXTRA_AFLAGS="-Werror -Wa,--fatal-warnings" against Zephyr 25851fa15cd:

  • intel_adsp/ace30/wcl: PASS
  • intel_adsp/ace30/ptl: PASS
  • intel_adsp/ace20_lnl: PASS (default, modules.conf LLEXT, and shell_overlay.conf)
  • intel_adsp/ace15_mtpm: PASS
  • intel_adsp/cavs25: PASS
  • imx8qm_mek/mimx8qm6/adsp: PASS
  • imx95_evk/mimx9596/m7/ddr: PASS

kv2019i and others added 2 commits November 30, 2026 13:34
The L3 heap started at the fixed IMR_L3_HEAP_BASE offset. The firmware
image stays in IMR after boot, and when the DSP is resumed from IMR,
the boot loader copies the image to SRAM again from there. If the image
extends beyond IMR_L3_HEAP_BASE, heap initialization and L3 allocations
(e.g. the LLEXT context saved before D3) overwrite the tail of the image
and the next IMR boot hangs before the firmware is ready.

This happens with LL userspace enabled on NVL, where the image ends at
L3 base + 0x185000 while the heap started at L3 base + 0x151000. The
host reports "Firmware boot failure due to timeout" when the stream is
started after the DSP has been suspended.

Drop the fixed IMR_L3_HEAP_BASE and calculate the end of the image from
the preload page count in the firmware manifest and start the heap after
it. Leave the L3 heap uninitialized if there is no IMR space left after
the image, and fail L3 allocations in that case.

Rename get_l3_heap_start() and get_l3_heap_size() and only call
the new calc_l3_heap_*() functions at l3 heap init time.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
(cherry picked from commit 27404eb)
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Switch the zephyr project from the lgirdwood fork back to upstream
zephyrproject-rtos/zephyr and align the revision with SOF main
(25851fa15cdc2dc9c395807bce97fa81c46c10ee).

The previously pinned UAOL dynamic service interval commit
(c6fe30bc343) is already merged upstream along with subsequent UAOL
feedback, rate adjustment, timeout, and userspace fixes.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
@lgirdwood
lgirdwood merged commit 467121f into thesofproject:intel/wov-d0i3-002 Nov 30, 2026
33 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants