Suspend block api (version 7)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 91 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | PM: Add suspend block api.Documentation/ include/ include/ +6 more | +637 | 21 replies | |
| 2/8 | PM: suspend_block: Add driver to access suspend blockers from user-spaceDocumentation/ Documentation/ include/ +3 more | +184 | 0 replies | |
| 3/8 | PM: suspend_block: Abort task freezing if a suspend_blocker is active.kernel/ | +9 | 0 replies | |
| 4/8 | PM: suspend_block: Add debugfs filekernel/ | +42 | 0 replies | |
| 5/8 | PM: suspend_block: Add suspend_blocker statsinclude/ kernel/ kernel/ +2 more | +239 | 0 replies | |
| 6/8 | PM: Add suspend blocking work.include/ kernel/ | +176 | 0 replies | |
| 6/8 | PM: Add suspend blocking work.include/ kernel/ | +176 | 0 replies | |
| 7/8 | Input: Block suspend while event queue is not empty.drivers/ include/ | +25 | 0 replies | |
| 8/8 | power_supply: Block suspend while power supply change notifications are pendingdrivers/ include/ | +8 | 0 replies |
Reviews trailers per patch
3 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Pavel Machek | Tejun Heo |
|---|---|---|
| 1/8 | ||
| 2/8 | ||
| 3/8 | A-b | |
| 4/8 | ||
| 5/8 | ||
| 6/8 | A-b A-b | R-b R-b |
| 6/8 | A-b A-b | R-b R-b |
| 7/8 | ||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] Suspend block api (version 7)
This patch series adds a suspend-block api that provides the same functionality as the android wakelock api. This version has some changes from, or requested by, Rafael. The most notable changes are:
- DEFINE_SUSPEND_BLOCKER and suspend_blocker_register have been added for statically allocated suspend blockers.
- suspend_blocker_destroy is now called suspend_blocker_unregister
- The user space mandatory _INIT ioctl has been replaced with an optional _SET_NAME ioctl.
I kept the ack and reviewed by tags on two of the patches even though there were a few cosmetic changes.
--
Arve Hjønnevåg <[email protected]>