Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge back material related to system sleep for 6.20

+8 -8
+3 -4
Documentation/power/runtime_pm.rst
··· 712 712 * During system suspend pm_runtime_get_noresume() is called for every device 713 713 right before executing the subsystem-level .prepare() callback for it and 714 714 pm_runtime_barrier() is called for every device right before executing the 715 - subsystem-level .suspend() callback for it. In addition to that the PM core 716 - calls __pm_runtime_disable() with 'false' as the second argument for every 717 - device right before executing the subsystem-level .suspend_late() callback 718 - for it. 715 + subsystem-level .suspend() callback for it. In addition to that, the PM 716 + core disables runtime PM for every device right before executing the 717 + subsystem-level .suspend_late() callback for it. 719 718 720 719 * During system resume pm_runtime_enable() and pm_runtime_put() are called for 721 720 every device right after executing the subsystem-level .resume_early()
+4 -3
drivers/base/power/main.c
··· 1647 1647 goto Complete; 1648 1648 1649 1649 /* 1650 - * Disable runtime PM for the device without checking if there is a 1651 - * pending resume request for it. 1650 + * After this point, any runtime PM operations targeting the device 1651 + * will fail until the corresponding pm_runtime_enable() call in 1652 + * device_resume_early(). 1652 1653 */ 1653 - __pm_runtime_disable(dev, false); 1654 + pm_runtime_disable(dev); 1654 1655 1655 1656 if (dev->power.syscore) 1656 1657 goto Skip;
+1 -1
kernel/power/main.c
··· 1125 1125 1126 1126 static int __init pm_start_workqueues(void) 1127 1127 { 1128 - pm_wq = alloc_workqueue("pm", WQ_FREEZABLE | WQ_UNBOUND, 0); 1128 + pm_wq = alloc_workqueue("pm", WQ_UNBOUND, 0); 1129 1129 if (!pm_wq) 1130 1130 return -ENOMEM; 1131 1131