genpd_finish_suspend(9)
π genpd_finish_suspend β it's in the genpd_finish_suspend(9) manual, bestie π
okay so real talk, this is the genpd_finish_suspend page from the Kernel API Manual, and it's short but it's important, so let's get into it π«Ά
β¨ NAME β¨
genpd_finish_suspend β the completion of suspend or hibernation of a device in an I/O pm domain. that's the whole vibe: it's the finishing moment. the "okay we're done here" moment π
π¦ SYNOPSIS π¦
int genpd_finish_suspend (struct device *dev , int
(*suspend_noirq)(struct device *dev) , int (*resume_noirq)(struct device
*dev) );
yes she returns an int, yes she takes a device plus two callback pointers, no we are not scared of her π
π ARGUMENTS π
devβ the device to suspend. that's the one getting stopped, bestie πsuspend_noirqβ the genericsuspend_noirqcallback. it's giving "the hook that actually does the suspending" β¨resume_noirqβ the genericresume_noirqcallback. the comeback arc, the resume energy π
πΈ DESCRIPTION πΈ
so what does she do? she stops the device, and then β and this is the iconic part β she removes power from the domain if all devices in it have been stopped. not some of them. not most of them. all of them. collective power-down or nothing, periodt π
like, the domain is a group chat and nobody's talking anymore, so the lights go off. that's the whole bit π
π SEE ALSO π
kernel file: ./drivers/pmdomain/core.c β the source, the mothership, go read her π§
and now the full friend list, because we do not leave anyone out of the group chat π:
dev_pm_genpd_set_performance_state(9)dev_pm_genpd_set_next_wakeup(9)dev_pm_genpd_get_next_hrtimer(9)dev_pm_genpd_set_hwmode(9)dev_pm_genpd_get_hwmode(9)dev_pm_genpd_rpm_always_on(9)dev_pm_genpd_is_on(9)pm_genpd_inc_rejected(9)genpd_queue_power_off_work(9)genpd_power_off(9)genpd_power_on(9)genpd_power_off_work_fn(9)__genpd_runtime_suspend(9)__genpd_runtime_resume(9)genpd_runtime_suspend(9)genpd_runtime_resume(9)genpd_power_off_unused(9)genpd_sync_power_off(9)genpd_sync_power_on(9)genpd_prepare(9)genpd_suspend_noirq(9)genpd_finish_resume(9)genpd_resume_noirq(9)genpd_freeze_noirq(9)genpd_thaw_noirq(9)genpd_poweroff_noirq(9)genpd_restore_noirq(9)genpd_complete(9)dev_pm_genpd_suspend(9)dev_pm_genpd_resume(9)pm_genpd_add_device(9)pm_genpd_remove_device(9)dev_pm_genpd_add_notifier(9)dev_pm_genpd_remove_notifier(9)pm_genpd_add_subdomain(9)pm_genpd_remove_subdomain(9)pm_genpd_init(9)pm_genpd_remove(9)struct of_genpd_provider(9)genpd_xlate_simple(9)genpd_xlate_onecell(9)genpd_add_provider(9)of_genpd_add_provider_simple(9)of_genpd_add_provider_onecell(9)of_genpd_del_provider(9)genpd_get_from_provider(9)of_genpd_add_child_ids(9)of_genpd_remove_child_ids(9)of_genpd_add_device(9)of_genpd_add_subdomain(9)of_genpd_remove_subdomain(9)of_genpd_remove_last(9)genpd_dev_pm_detach(9)genpd_dev_pm_attach(9)genpd_dev_pm_attach_by_id(9)genpd_dev_pm_attach_by_name(9)of_genpd_parse_idle_states(9)of_genpd_sync_state(9)
like, that's the whole extended universe, iykyk π
okay and finally the lil sign-off π: this page lives under ./drivers/pmdomain, and it was dated October 2026 back in the original footer, where it also says genpd_finish_suspend(9) β so yeah, ./drivers/pmdomain, October 2026, genpd_finish_suspend(9). that's the whole footer, slayed and restyled, bye 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