mtk_adsp_get_registers(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

bestie, welcome to mtk_adsp_get_registers(9) from the Kernel API Manual β€” this is the page for when the DSP has an oops and we need the receipts. ✨ main character energy only πŸ’…

πŸ’– NAME πŸ’–

okay so mtk_adsp_get_registers is the function you call in case of a DSP oops, because we need to gather information about the registers, filename and linenumber, and the stack. it’s giving crash-scene investigator but make it kernel ✨

🌸 SYNOPSIS 🌸

the whole signature, no cap:

void mtk_adsp_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 β€” SOF device. that’s the device itself, bestie 🫢
  • xoops β€” Stores information about registers. registers get their own little info home ✨
  • panic_info β€” Stores information about filename and line number. filename and line number info, periodt 😭
  • stack β€” Stores the stack dump. literally the receipts πŸ’€
  • stack_words β€” Size of the stack dump. the size, no cap πŸ“

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./sound/soc/sof/mediatek/mtk-adsp-common.c β€” that’s where this lives πŸ‘€

related function besties, all linked and everything:


cute sign-off time: source/version is ./sound/soc/sof/mediatek, date is October 2026, and the page is mtk_adsp_get_registers(9). byeee, go gather those registers responsibly πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from