mtk_adsp_dump(9)
πΈ mtk_adsp_dump(9) β like, the Kernel API Manual page, bestie πΈ
okay so welcome to the mtk_adsp_dump page from the Kernel API Manual section, section 9, and honestly? she's a short one but she's iconic. let's get into it π
β¨ NAME β¨
mtk_adsp_dump β this function is called when a panic message is received from the firmware. no cap, that's literally her whole job. firmware panics, she gets the call ππ
π¦ SYNOPSIS π¦
void mtk_adsp_dump (struct snd_sof_dev *sdev , u32 flags );
look at her. returns void, so she's not giving you anything back β she just does the thing and leaves. main character energy fr fr π
π ARGUMENTS π
sdevβ the SOF device. that's the whole vibe, she needs her device bestie to do anything π«Άflagsβ parameter not used but required by ops prototype π like... she's literally just there to fill the seat. the ops prototype said "you need a flags arg" and the kernel said "okay bet" and nowflagsis a cast member with zero lines. we still love her. she's doing her best. π
ngl, don't go passing anything meaningful in flags expecting it to matter β the page is very clear that it's not used, it's just there because the prototype demands it. periodt.
π SEE ALSO π
The kernel file ./sound/soc/sof/mediatek/mtk-adsp-common.c β go read her, that's where the real lore lives πβ¨
and the rest of the squad, all in one little group chat:
mtk_adsp_get_registers(9)mtk_adsp_send_msg(9)mtk_adsp_handle_reply(9)mtk_adsp_handle_request(9)mtk_adsp_get_bar_index(9)mtk_adsp_stream_pcm_hw_params(9)mtk_adsp_stream_pcm_pointer(9)
like, that's the friend group. they all show up together. iykyk π§π
okay and for the cute sign-off: this little baby lives over at ./sound/soc/sof/mediatek, she's dated October 2026, and she answers to the name mtk_adsp_dump(9). go forth and dump those ADSP panic messages, bestie β slay πππ₯
π¦ 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