qcom_scm_set_warm_boot_addr(9)
π qcom_scm_set_warm_boot_addr β the Kernel API Manual, bestie edition π
okay so welcome to the qcom_scm lore, specifically the part where we tell the secure world where to send the CPUs when they wake back up π΄β‘οΈβ¨ this is a kernel API manual page (9 = kernel API section, iykyk), and we're gonna get into it.
β¨ NAME β¨
qcom_scm_set_warm_boot_addr β literally just: set the warm boot address for all the cpus, no cap π«Ά
π SYNOPSIS π
int qcom_scm_set_warm_boot_addr (void *entry );
that's it. one argument. one int coming back. main character energy fr π
πΈ ARGUMENTS πΈ
entryβ the entry point function for the cpus π like, this is the address the cpus should jump to. it's avoid *, so... yeah, it's a pointer, we don't ask questions.
π¦ DESCRIPTION π¦
okay so here's the vibe: this sets the Linux entry point that SCM will transfer control to when coming out of a power down π₯
and like, "CPU power down" here? that can happen on cpuidle or on hotplug β both of those can trigger it, so this address is doing a lot of heavy lifting ngl. it's the "welcome back, go here" sign for your cpus π
no seriously bestie, this is the handoff point β SCM wakes the cpu and sends it to your entry. make sure it's a real one π
β SEE ALSO β
the whole extended universe, bestie β go read these:
- Kernel file
./drivers/firmware/qcom/qcom_scm.c - struct
qcom_scm_qseecom_resp(9) qcom_scm_call(9)qcom_scm_call_atomic(9)qcom_scm_set_cold_boot_addr(9)qcom_scm_cpu_power_down(9)qcom_scm_is_pas_available(9)qcom_scm_restore_sec_cfg_available(9)qcom_scm_assign_mem(9)qcom_scm_ocmem_lock_available(9)qcom_scm_ocmem_lock(9)qcom_scm_ocmem_unlock(9)qcom_scm_ice_available(9)qcom_scm_ice_invalidate_key(9)qcom_scm_ice_set_key(9)qcom_scm_derive_sw_secret(9)qcom_scm_generate_ice_key(9)qcom_scm_prepare_ice_key(9)qcom_scm_import_ice_key(9)qcom_scm_hdcp_available(9)qcom_scm_hdcp_req(9)qcom_scm_qseecom_call(9)qcom_scm_qseecom_get_version(9)qcom_scm_qseecom_app_get_id(9)qcom_scm_qseecom_app_send(9)qcom_scm_qtee_invoke_smc(9)qcom_scm_qtee_callback_response(9)qcom_scm_is_available(9)
that's the whole friend group right there π
and that's the page!! π this slay was served up from the ./drivers/firmware/qcom corner of the tree, dated October 2026, and titled qcom_scm_set_warm_boot_addr(9) β go warm-boot those cpus responsibly, bestie π§β¨π
π¦ 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