Skip to content

app: mtl/intel_adsp: enable crash breadcrumbs, disable KCPS scaling, raise IDC timeout - #11603

Draft
lgirdwood wants to merge 2 commits into
thesofproject:mainfrom
lgirdwood:topic/mtl-dp-config-fixes
Draft

lgirdwood wants to merge 2 commits into
thesofproject:mainfrom
lgirdwood:topic/mtl-dp-config-fixes

Conversation

@lgirdwood

Copy link
Copy Markdown
Member

Summary

  • Commit 1 (app/boards/intel_adsp/Kconfig.defconfig): Enable CONFIG_XTENSA_FATAL_BREADCRUMB by default on Intel ADSP boards so HP-SRAM window0 captures faulting PC, EXCCAUSE, and EXCVADDR for kernel crash diagnostics.
  • Commit 2 (app/boards/intel_adsp_ace15_mtpm.conf): Disable CONFIG_KCPS_DYNAMIC_CLOCK_CONTROL and raise CONFIG_IDC_TIMEOUT_US to 100000 on MTL so synchronous cross-core scheduler_dp_task_stop() during heavy DP module resets (e.g. Core 1 FFmpeg encoder reset) completes without hitting the 15 ms -EAGAIN timeout.

Testing

  • Built GCC intel_adsp/ace15_mtpm with llext_relocatable.conf.
  • Verified repeated compressed capture pipeline resets without IDC -EAGAIN timeouts on Intel ARL-S (Dragon Fly).

Enable CONFIG_XTENSA_FATAL_BREADCRUMB by default on Intel ADSP boards so
HP-SRAM window0 records faulting PC, EXCCAUSE, and EXCVADDR across FW
exceptions for Linux driver crash diagnostics.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Disable CONFIG_KCPS_DYNAMIC_CLOCK_CONTROL and raise
CONFIG_IDC_TIMEOUT_US to 100000 on intel_adsp_ace15_mtpm.

With dynamic KCPS clock control enabled, heavy DP tasks can experience
clock scaling jitter/underruns. Additionally, resetting cross-core DP
modules (such as FFmpeg encoders on Core 1) synchronously joins the DP
thread in scheduler_dp_task_stop() before IDC_MSG_RESET returns; heavy
encoding frames can exceed the default 15 ms IDC timeout and cause
pipeline_reset() to fail with -EAGAIN (-11).

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
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.

2 participants