Skip to content

zephyr: alloc: access manifest through uncached alias - #11436

Merged
lgirdwood merged 1 commit into
thesofproject:mainfrom
piotrhoppeintel:error/sim/no-fw-ready-issue
Nov 12, 2026
Merged

lgirdwood merged 1 commit into
thesofproject:mainfrom
piotrhoppeintel:error/sim/no-fw-ready-issue

Conversation

@piotrhoppeintel

Copy link
Copy Markdown
Contributor

Fix a PTL/ACE30 boot failure caused by invalidating the cache for the read-only IMR firmware manifest. The resulting StoreProhibited exception led to a triple fault before the FW ready notification.

Read the manifest through its uncached alias instead, removing the unnecessary cache invalidation.

Validation
test_00_load_fw_default  passes on PTL ACEFS, with firmware successfully reporting  FW ready .

Use an uncached pointer when reading the firmware manifest to
calculate the L3 heap start. This removes the need for explicit
cache invalidation before accessing the manifest header.

Signed-off-by: Piotr Hoppe <piotr.hoppe@intel.com>
Copilot AI balanced review requested due to automatic review settings November 10, 2026 15:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the change to access the IMR firmware manifest through its uncached alias.

No open issues 🎉

What changed in this PR

This PR addresses the PTL/ACE30 boot failure by reading the read-only IMR firmware manifest through its uncached alias, avoiding the cache invalidation that caused a StoreProhibited exception before firmware readiness.

Changes:

  • Uses sys_cache_uncached_ptr_get() to access the manifest.
  • Removes manifest-header cache invalidation while preserving the heap-start calculation.
File Description
zephyr/​lib/​alloc.c Updates calc_l3_heap_start() to read the manifest through its uncached alias without cache invalidation.

Review effort: Balanced

@intel-sofci

intel-sofci commented Nov 12, 2026 •

Copy link
Copy Markdown

PR 11436: test results

Run date: 2026-11-12 15:15 UTC

Tested commit: 3ae9d9914e9c0df043eb9cb87025a354e92e89cd

mtl pass rate lnl pass rate ptl pass rate wcl pass rate nvl pass rate

@lgirdwood
lgirdwood merged commit 4343c32 into thesofproject:main Nov 12, 2026
44 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.

6 participants