public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 0/3] PM: Rework suspend and hibernation code for devices
@ 2008-03-16 23:20 Rafael J. Wysocki
  2008-03-16 23:22 ` [RFC][PATCH 1/3] PM: Introduce new top level suspend and hibernation callbacks Rafael J. Wysocki
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: Rafael J. Wysocki @ 2008-03-16 23:20 UTC (permalink / raw)
  To: pm list
  Cc: ACPI Devel Maling List, Alan Stern, Greg KH, Len Brown, LKML,
	Alexey Starikovskiy, David Brownell, Pavel Machek

Hi,

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
added).

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.

Thanks,
Rafael


-- 
"Premature optimization is the root of all evil." - Donald Knuth


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2008-03-20 22:57 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-16 23:20 [RFC][PATCH 0/3] PM: Rework suspend and hibernation code for devices Rafael J. Wysocki
2008-03-16 23:22 ` [RFC][PATCH 1/3] PM: Introduce new top level suspend and hibernation callbacks Rafael J. Wysocki
2008-03-18 10:01   ` Pavel Machek
2008-03-18 15:10     ` Alan Stern
2008-03-18 23:54       ` Pavel Machek
2008-03-19  1:04         ` Rafael J. Wysocki
2008-03-19  2:44           ` Alan Stern
2008-03-19  3:49             ` Benjamin Herrenschmidt
2008-03-19 15:19               ` Alan Stern
2008-03-20  3:33                 ` Benjamin Herrenschmidt
2008-03-20 14:45                   ` Alan Stern
2008-03-20 22:32                     ` Benjamin Herrenschmidt
2008-03-20 18:26                   ` Alan Stern
2008-03-20 22:34                     ` Benjamin Herrenschmidt
2008-03-20 22:57                       ` Alan Stern
2008-03-19  0:53   ` Greg KH
2008-03-19  9:15     ` Pavel Machek
2008-03-19 13:22     ` Rafael J. Wysocki
2008-03-19 18:07       ` Greg KH
2008-03-16 23:24 ` [RFC][PATCH 2/3] PM: New suspend and hibernation callbacks for platform bus type Rafael J. Wysocki
2008-03-18 10:02   ` Pavel Machek
2008-03-16 23:25 ` [RFC][PATCH 3/3] PM: New suspend and hibernation callbacks for PCI " Rafael J. Wysocki
2008-03-18 10:02   ` Pavel Machek
2008-03-19  0:55   ` Greg KH
2008-03-19 13:24     ` Rafael J. Wysocki
2008-03-19 18:06       ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox