amd_get_registers(9)
β¨ NAME β¨
amd_get_registers β okay so bestie, this is the function that gets called when the DSP has an oops moment π and we need to scoop up all the deets: info about the registers, the filename and line number, and the stack. It's giving forensic vibes, fr fr π
πΈ SYNOPSIS πΈ
void amd_get_registers (struct snd_sof_dev *sdev , struct
sof_ipc_dsp_oops_xtensa *xoops , struct sof_ipc_panic_info *panic_info ,
u32 *stack , size_t stack_words );
π ARGUMENTS π
sdevβ the SOF device, obvs π«Άxoopsβ stores all the info about the registers β¨panic_infoβ stores info about the filename and line number, iykyk πstackβ stores the stack dump, iconic πstack_wordsβ the size of the stack dump, lowkey important πΈ
π¦ SEE ALSO π¦
Kernel file ./sound/soc/sof/amd/acp-common.c β and also go check out amd_sof_ipc_dump(9) and amd_sof_dump(9) π
no cap, this page lives under./sound/soc/sof/amdand it's dated October 2026 βamd_get_registers(9), periodt πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms