Skip to content

schedule: zephyr_dp_schedule_application: include sof/lib/mailbox.h - #11349

Open
kv2019i wants to merge 1 commit into
thesofproject:mainfrom
kv2019i:202610-dp-app-mailbox-fix
Open

kv2019i wants to merge 1 commit into
thesofproject:mainfrom
kv2019i:202610-dp-app-mailbox-fix

Conversation

@kv2019i

@kv2019i kv2019i commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

The code uses MAILBOX_HOSTBOX_BASE and MAILBOX_HOSTBOX_SIZE, but relies on <sof/lib/mailbox.h> to be included indirectly. This breaks when the indirect include chain changes. With latest Zephyr, the PTL build fails with:

error: use of undeclared identifier 'MAILBOX_HOSTBOX_BASE'

Fix by including the header explicitly.

The code uses MAILBOX_HOSTBOX_BASE and MAILBOX_HOSTBOX_SIZE, but
relies on <sof/lib/mailbox.h> to be included indirectly. This breaks
when the indirect include chain changes. With latest Zephyr, the PTL
build fails with:

error: use of undeclared identifier 'MAILBOX_HOSTBOX_BASE'

Fix by including the header explicitly.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Copilot AI balanced review requested due to automatic review settings October 23, 2026 13:34
@kv2019i
kv2019i requested a review from lgirdwood October 23, 2026 13:34

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

The single-header addition directly addresses the missing dependency, with no identified blocking issues.

No open issues 🎉

What changed in this PR

Adds an explicit mailbox header dependency to the Zephyr application scheduler, addressing the reported PTL build failure when indirect includes change.

Changes:

  • Includes <sof/lib/mailbox.h> directly for MAILBOX_HOSTBOX_BASE and MAILBOX_HOSTBOX_SIZE, without changing runtime behavior.
File Description
src/​schedule/​zephyr_dp_schedule_application.c Adds the header providing the mailbox definitions used by the scheduler.

Review effort: Balanced

@intel-sofci

Copy link
Copy Markdown

PR 11349: test results

Run date: 2026-10-23 14:22 UTC

Tested commit: 8f7e13796755cecc4f367b82dc9b1295dd083b7a

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

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