rproc_trigger_recovery(9)
π rproc_trigger_recovery(9) π
okay so bestie, we're diving into the Kernel API Manual today and honestly? this one's a lil baddie with a big job. let's get into it β¨
π NAME π
rproc_trigger_recovery β recover a remoteproc, aka the glow-up button for your remote processor π
β¨ SYNOPSIS β¨
int rproc_trigger_recovery (struct rproc *rproc );
π¦ ARGUMENTS π¦
rprocβ the remote processor in question. yep, that one. the main character π«Ά
πΈ DESCRIPTION πΈ
so here's the vibe: this function does the recovery by resetting all the virtio devices. and the way that works out is that all the rpmsg drivers get reseted right along with the remote processor β which is exactly what makes the remoteproc functional again. it's giving "we all get a fresh start together" energy ππ
real talk though: this function can sleep, so you absolutely cannot call it from atomic context. no cap. don't do it. π
π RETURN π
0on success π- a negative value upon failure π
π SEE ALSO π
okay bestie, buckle up, this list is LONG and every single one of these icons made the cut π
Kernel file ./drivers/remoteproc/remoteproc_core.c, plus:
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_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)rproc_report_crash(9)
that's the whole page, you ate that π this lil gem lives over in ./drivers/remoteproc and it's dated October 2026 β screenshot it, bookmark it, put it on your fridge, 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