amd_get_registers(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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/amd and it's dated October 2026 β€” amd_get_registers(9), periodt πŸ‘‘βœ¨
πŸ“¦ where this page comes from