rproc_report_crash(9)
π rproc_report_crash(9) β like, the remoteproc crash reporter, bestie
okay so you're in the Kernel API Manual (section 9, the kernel-functions girlies) and this is the page for rproc_report_crash. she's short, she's iconic, she does exactly one thing, and honestly? she ate. let's get into it π«Ά
β¨ NAME β¨
rproc_report_crash β the rproc crash reporter function, no cap
π¦ SYNOPSIS π¦
void rproc_report_crash (struct rproc *rproc , enum rproc_crash_type
type );
that's it. that's the whole signature. she's void, she's not returning anything to you, she's just doing the thing π
π ARGUMENTS π
rprocβ the remote processor. the actual guy. the main character in question πΈtypeβ the crash type (it's anenum rproc_crash_type, so you gotta tell her what kind of oopsie it was) π
π₯ DESCRIPTION π₯
bestie listen, this is the important part. this function must be called every single time a crash is detected by the low-level drivers implementing a specific remoteproc. like, every time. not sometimes. not "when it's convenient." every time. periodt β¨
π© and no, do not call this from a non-remoteproc driver. it's not for you. it's not for your random driver. this is a remoteproc thing only, iykyk. stay in your lane, respectfully π
the good news? she's flexible like that β this function can be called from atomic/interrupt context. so go off, call her from where you need to π§
π SEE ALSO π
Kernel file ./drivers/remoteproc/remoteproc_core.c β go read the source, it's giving required reading π
and the whole friend group, gathered here for the group chat (they all showed up, which is so sweet):
rproc_da_to_va(9)rproc_find_carveout_by_name(9)rproc_check_carveout_da(9)rproc_handle_vdev(9)rproc_handle_trace(9)rproc_handle_devmem(9)rproc_alloc_carveout(9)rproc_release_carveout(9)rproc_handle_carveout(9)rproc_add_carveout(9)rproc_mem_entry_init(9)rproc_of_resm_mem_entry_init(9)rproc_of_parse_firmware(9)rproc_alloc_registered_carveouts(9)rproc_resource_cleanup(9)rproc_trigger_recovery(9)rproc_crash_handler_work(9)rproc_boot(9)rproc_shutdown(9)rproc_detach(9)rproc_get_by_phandle(9)rproc_set_firmware(9)rproc_add(9)devm_rproc_add(9)rproc_type_release(9)rproc_alloc(9)rproc_free(9)rproc_put(9)rproc_del(9)devm_rproc_alloc(9)rproc_add_subdev(9)rproc_remove_subdev(9)rproc_get_by_child(9)
all thirty-three of them, in the order they appeared, because we do not skip anyone in this house π
anyway bestie, that's the page! it lives in ./drivers/remoteproc, it's from October 2026, and yes it lowkey slays. go report your crashes responsibly πβ¨π
π¦ 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