|| ||"Rafael J. Wysocki" <email@example.com>|
|| ||pm list <firstname.lastname@example.org>|
|| ||[RFC][PATCH 0/3] PM: Rework suspend and hibernation code for devices|
|| ||Mon, 17 Mar 2008 00:20:54 +0100|
|| ||ACPI Devel Maling List <email@example.com>,
Alan Stern <firstname.lastname@example.org>,
Greg KH <email@example.com>, Len Brown <firstname.lastname@example.org>,
Alexey Starikovskiy <email@example.com>,
David Brownell <firstname.lastname@example.org>,
Pavel Machek <email@example.com>|
The following three patches are intended to start the redesign of the suspend
and hibernation framework for devices.
The first patch defines the new framework. Specifically, it introduces the
structure 'struct pm_ops' containing a set of hibernation and suspend
callbacks to be defined by bus types, device types, device classes and,
finally, by device drivers (the role of each callback is described in the
comment in pm.h; the documentation will be updated later). It also modifies
the code in drivers/base/power/main.c to use the new framework, if available,
and fall back to the old one otherwise (no visible functional changes should be
The other two patches implement the new suspend and hibernation callbacks
for the platform and PCI bus types.
Please review and tell me what you think.
"Premature optimization is the root of all evil." - Donald Knuth