mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] Power management fixes for v6.16-rc1
@ 2025-06-05 18:55 Rafael J. Wysocki
  2025-06-05 19:53 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Rafael J. Wysocki @ 2025-06-05 18:55 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux PM, Linux Kernel Mailing List

Hi Linus,

Please pull from the tag

 git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
 pm-6.16-rc1-3

with top-most commit 8887abccf8aa16795f23ef3a3b25650cb8aa804c

 PM: sleep: Add locking to dpm_async_resume_children()

on top of commit 976aa630da5b5508c278487db31b873ddf6bae8f

 Merge tag 'pm-6.16-rc1-2' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

to receive power management fixes for 6.16-rc1.

These fix three issues introduced into device suspend/resume error paths
in the PM core by some of the recent updates.

First off, list_splice() is replaced with list_splice_init() in three
places in device suspend error paths to avoid attempting to use an
uninitialized list head going forward.

Second, device_resume() is rearranged to avoid leaking the
power.is_suspended device PM flag to the next system suspend/resume
cycle where it can confuse rolling back after an error or early wakeup.

Finally, synchronization is added to dpm_async_resume_children() to
avoid resetting the async state mistakenly for devices whose resume
callbacks have already been queued up for asynchronous execution in the
given device resume phase, which fortunately can happen only if the
preceding system suspend transition has been aborted.

Thanks!


---------------

Rafael J. Wysocki (3):
      PM: sleep: Fix list splicing in device suspend error paths
      PM: sleep: Fix power.is_suspended cleanup for direct-complete devices
      PM: sleep: Add locking to dpm_async_resume_children()

---------------

 drivers/base/power/main.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] Power management fixes for v6.16-rc1
  2025-06-05 18:55 [GIT PULL] Power management fixes for v6.16-rc1 Rafael J. Wysocki
@ 2025-06-05 19:53 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2025-06-05 19:53 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Linus Torvalds, Linux PM, Linux Kernel Mailing List

The pull request you sent on Thu, 5 Jun 2025 20:55:05 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-6.16-rc1-3

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e271ed52b344ac02d4581286961d0c40acc54c03

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-05 19:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-05 18:55 [GIT PULL] Power management fixes for v6.16-rc1 Rafael J. Wysocki
2025-06-05 19:53 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®