Skip to content

Hibernation: Clean up userland interface

Rafael J. Wysocki linux-pm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Hibernation: Introduce SNAPSHOT_GET_IMAGE_SIZE ioctlDocumentation/power/userland-swsusp.txt kernel/power/power.h kernel/power/snapshot.c +1 more+28 -131 reply
2/5Hibernation: Rework platform support ioctlsDocumentation/power/userland-swsusp.txt kernel/power/power.h kernel/power/user.c+38 -341 reply
3/5Hibernation: Correct definitions of some ioctlsDocumentation/power/userland-swsusp.txt kernel/power/power.h kernel/power/user.c+30 -182 replies
4/5Hibernation: Mark SNAPSHOT_SET_SWAP_FILE ioctl as deprecatedDocumentation/power/userland-swsusp.txt kernel/power/power.h kernel/power/user.c+5 -141 reply
5/5Hibernation: Introduce exportable suspend ioctls headerDocumentation/power/userland-swsusp.txt include/linux/suspend_ioctls.h kernel/power/power.h+39 -344 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH -mm 0/5] Hibernation: Clean up userland interface

Hi,

This series of patches is intended to eliminate some design problems with the hibernation userland interface.

It contains the following changes:
* allow the user space utilities to get the size of the image via ioctl
* introduce ioctls to be used instead of SNAPSHOT_PMOPS
* introduce new ioctl definitions to replace the ones that depend on (void *)
* mark the SNAPSHOT_SET_SWAP_FILE ioctl as deprecated
* move the definitions of hibernation ioctls to a separate header file located in include/linux/suspend.h
The details are in the changelogs.

Comments welcome.

Greetings,
Rafael

Signature · 1 line
"Premature optimization is the root of all evil." - Donald Knuth