qcom_add_ssr_subdev(9)
π qcom_add_ssr_subdev β kernel API manual, bestie edition π
okay so real talk, this is a page from the Kernel API Manual and it's about qcom_add_ssr_subdev(9). yes the name is a mouthful, no we're not renaming it. let's go π
β¨ NAME β¨
qcom_add_ssr_subdev β literally just registers a subdevice so it can be a restart notification source. that's the whole vibe. π¦
β¨ SYNOPSIS β¨
void qcom_add_ssr_subdev (struct rproc *rproc , struct qcom_rproc_ssr
*ssr , const char *ssr_name );
three args, void return, no notes. slay. β¨
πΈ ARGUMENTS πΈ
rprocβ therprochandle. it's giving main character energy because everything flows through it π«Άssrβ the SSR subdevice handle. this is the little subdevice we're adding πssr_nameβ the identifier used for notifications originating fromrproc. label your children, bestie π
π DESCRIPTION π
so here's the tea β β once the ssr is registered with the rproc, SSR events get sent out to all registered listeners for the remoteproc whenever its SSR events happen. and which events are those? so glad you asked:
- pre startup
- post startup
- pre shutdown
- post shutdown
that's the whole cycle, no cap. everybody who signed up gets the notification, fr fr. π₯
π¦ SEE ALSO π¦
kernel file ./drivers/remoteproc/qcom_common.c, plus the whole friend group:
struct minidump_region(9)struct minidump_subsystem(9)struct minidump_global_toc(9)qcom_add_glink_subdev(9)qcom_remove_glink_subdev(9)qcom_register_dump_segments(9)qcom_add_smd_subdev(9)qcom_remove_smd_subdev(9)qcom_register_ssr_notifier(9)qcom_unregister_ssr_notifier(9)qcom_remove_ssr_subdev(9)qcom_add_pdm_subdev(9)qcom_remove_pdm_subdev(9)
iykyk π
ngl this page lives in./drivers/remoteproc, and it's dated October 2026 β so yeah,qcom_add_ssr_subdev(9), see you in the group chat π πβ¨
okay bye bestie, go register that subdevice π§ππ
π¦ 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