pm_noirq_op(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pm_noirq_op(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so real talk, we're in pm_noirq_op territory, which lives in the Kernel API Manual and is basically the glow-up your power-management code needs. pull up a chair. πŸ¦‹


✨ NAME ✨

pm_noirq_op β€” hands you back the PM operation that matches whatever PM event you just threw at it. it's giving personal shopper but for callbacks. πŸ‘‘


🌸 SYNOPSIS 🌸

pm_callback_t pm_noirq_op (const struct dev_pm_ops *ops , pm_message_t
       state );

πŸ’– ARGUMENTS πŸ’–

  • ops β€” the pile of PM operations you're picking from. the menu, the selection, the vibe board. 🫢
  • state β€” the PM transition the system is currently going through. iykyk, this is the moment we're living in. ✨

πŸ”₯ DESCRIPTION πŸ”₯

so here's the thing, and this is lowkey important: the driver of dev is not gonna receive interrupts while this function is running. like, at all. no cap. it's a whole interrupt-free moment, bestie 😭 so don't be out here expecting any.


🌈 SEE ALSO 🌈

the kernel file ./drivers/base/power/main.c and literally all of its friends, we love a friend group 🧚:

pm_hibernate_is_recovering(9), device_pm_sleep_init(9), device_pm_lock(9), device_pm_unlock(9), device_pm_add(9), device_pm_remove(9), device_pm_move_before(9), device_pm_move_after(9), device_pm_move_last(9), dpm_wait(9), pm_op(9), pm_late_early_op(9), dpm_watchdog_handler(9), dpm_watchdog_set(9), dpm_watchdog_clear(9), dev_pm_skip_resume(9), device_resume_noirq(9), dpm_resume_noirq(9), device_resume_early(9), dpm_resume_early(9), dpm_resume_start(9), device_resume(9), dpm_resume(9), device_complete(9), dpm_complete(9), dpm_resume_end(9), resume_event(9), device_suspend_noirq(9), dpm_suspend_noirq(9), device_suspend_late(9), dpm_suspend_late(9), dpm_suspend_end(9), legacy_suspend(9), device_suspend(9), dpm_suspend(9), device_prepare(9), dpm_prepare(9), dpm_suspend_start(9), device_pm_wait_for_dev(9), dpm_for_each_dev(9)


that's the whole page, periodt πŸ’œ and like, drop a little credit where it's due: this icon lives in ./drivers/base/power, dated October 2026, and yes she ate. mwah πŸ“βœ¨

πŸ“¦ where this page comes from