thesofproject / sof

Sound Open Firmware
Other
533 stars 307 forks source link

[FEATURE] exception handler roadmap. #6743

Open lgirdwood opened 1 year ago

lgirdwood commented 1 year ago

Today exception handlers spin the DSP and emit an IPC error. We can do better. (pls add other items here)

@thesofproject/steering-committee @kv2019i @nashif @andyross @mmaka1 @marcinszkudlinski

cujomalainey commented 1 year ago

2 and 3 are definitely of interest here. Tracking a context token will be easier than identify which PC is the cause of the crash

kv2019i commented 1 year ago

@lgirdwood I now marked items 1, 2 and 3 done. I'm not 100% about the "context error" token (FYI @aborisovich ). FW sends the standard IPC4 exception notification and we provide a standard Zephyr coredump in SRAM. So I'd say this provides ample application context, and is basicly matching what we can do with IPC3/4 protocol now. Please add a new task if you meant something more specific.

cujomalainey commented 1 year ago

@eddy1021 FYI for testing

lgirdwood commented 1 year ago

@kv2019i @cujomalainey so we are missing the GDB polling stub. I think we had some PRs in progress on Zephyr but never finished due to high priority work. Could be a Q4 item.