Skip to content

zephyr: wrapper: do not send IPC in fatal handler in test mode#10659

Open
kv2019i wants to merge 1 commit intothesofproject:mainfrom
kv2019i:202603-no-ipc-on-panic-if-no-ipc
Open

zephyr: wrapper: do not send IPC in fatal handler in test mode#10659
kv2019i wants to merge 1 commit intothesofproject:mainfrom
kv2019i:202603-no-ipc-on-panic-if-no-ipc

Conversation

@kv2019i
Copy link
Copy Markdown
Collaborator

@kv2019i kv2019i commented Mar 27, 2026

Do not send IPC in case SOF is built with CONFIG_SOF_BOOT_TEST_STANDALONE and IPC subsystem is not fully initialized.

Do not send IPC in case SOF is built with CONFIG_SOF_BOOT_TEST_STANDALONE
and IPC subsystem is not fully initialized.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
@kv2019i kv2019i requested review from jsarha and lyakh March 27, 2026 12:06
@kv2019i kv2019i requested a review from iuliana-prodan as a code owner March 27, 2026 12:06
Copilot AI review requested due to automatic review settings March 27, 2026 12:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Prevents fatal error handling from attempting to send an IPC panic notification when SOF is built in standalone boot test mode, where the IPC subsystem is intentionally not initialized.

Changes:

  • Guard ipc_send_panic_notification() in k_sys_fatal_error_handler() so it is not called under CONFIG_SOF_BOOT_TEST_STANDALONE.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

4 participants