Skip to content

Suspend block api (version 8)

Arve Hjønnevåg linux-input linux-omap linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1,277 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8PM: Opportunistic suspend support.Documentation/power/opportunistic-suspend.txt include/linux/suspend.h include/linux/suspend_blocker.h +6 more+651 -80 replies
1/8PM: Opportunistic suspend support.Documentation/power/opportunistic-suspend.txt include/linux/suspend.h include/linux/suspend_blocker.h +6 more+651 -8205 replies
2/8PM: suspend_block: Add driver to access suspend blockers from user-spaceDocumentation/ioctl/ioctl-number.txt Documentation/power/opportunistic-suspend.txt include/linux/suspend_ioctls.h +3 more+184 -10 replies
2/8PM: suspend_block: Add driver to access suspend blockers from user-spaceDocumentation/ioctl/ioctl-number.txt Documentation/power/opportunistic-suspend.txt include/linux/suspend_ioctls.h +3 more+184 -125 replies
3/8PM: suspend_block: Abort task freezing if a suspend_blocker is active.kernel/power/process.c+9 -20 replies
3/8PM: suspend_block: Abort task freezing if a suspend_blocker is active.kernel/power/process.c+9 -20 replies
4/8PM: suspend_block: Add debugfs filekernel/power/opportunistic_suspend.c+42 -10 replies
4/8PM: suspend_block: Add debugfs filekernel/power/opportunistic_suspend.c+42 -10 replies
5/8PM: suspend_block: Add suspend_blocker statsinclude/linux/suspend_blocker.h kernel/power/Kconfig kernel/power/opportunistic_suspend.c +2 more+235 -40 replies
5/8PM: suspend_block: Add suspend_blocker statsinclude/linux/suspend_blocker.h kernel/power/Kconfig kernel/power/opportunistic_suspend.c +2 more+235 -40 replies
6/8PM: Add suspend blocking work.include/linux/suspend_blocker.h kernel/power/opportunistic_suspend.c+176 -00 replies
6/8PM: Add suspend blocking work.include/linux/suspend_blocker.h kernel/power/opportunistic_suspend.c+176 -00 replies
7/8Input: Block suspend while event queue is not empty.drivers/input/evdev.c include/linux/input.h+25 -00 replies
7/8Input: Block suspend while event queue is not empty.drivers/input/evdev.c include/linux/input.h+25 -00 replies
8/8power_supply: Block suspend while power supply change notifications are pendingdrivers/power/power_supply_core.c include/linux/power_supply.h+8 -40 replies
8/8power_supply: Block suspend while power supply change notifications are pendingdrivers/power/power_supply_core.c include/linux/power_supply.h+8 -40 replies

Reviews trailers per patch

4 of 16 patches have a Reviewed-by or Acked-by.

PatchPavel MachekTejun Heo
1/8
1/8
2/8
2/8
3/8A-b A-b
3/8A-b A-b
4/8
4/8
5/8
5/8
6/8A-b A-b R-b R-b
6/8A-b A-b R-b R-b
7/8
7/8
8/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] Suspend block api (version 8)

This patch series adds a suspend-block api that provides the same functionality as the android wakelock api. This version adds a delay before suspending again if no suspend blockers were used during the last suspend attempt.

--
Arve Hjønnevåg <[email protected]>