Skip to content

PM / Sleep: Wakeup sources concurrency fixes

Rafael J. Wysocki lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PM / Sleep: Fix possible infinite loop during wakeup source destructiondrivers/base/power/wakeup.c+5 -100 replies
2/3PM / Sleep: Fix race conditions related to wakeup source timer functiondrivers/base/power/wakeup.c+14 -20 replies
3/3PM / Sleep: Make __pm_stay_awake() delete wakeup source timersdrivers/base/power/wakeup.c+11 -16 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] PM / Sleep: Wakeup sources concurrency fixes

Hi,

There are a few synchronization problems spotted by Arve in the wakeup sources core code and the following patches are supposed to fix them.

[1/3] - Fix possible infinite loop during wakeup source destruction. [2/3] - Fix race conditions related to wakeup source timer function. [3/3] - Make __pm_stay_awake() delete wakeup source timers.

The details are in the changelogs.

The patches are on top of the pm-sleep branch of the linux-pm tree.

Please let me know if you see any problems with these patches. Otherwise they are regarded as v3.4 material.

Thanks,
Rafael