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

Hi,

The following three patches are intended to start the redesign of the suspend
and hibernation framework for devices.

The first one is the 5th revision of the patch introducing new callbacks for
suspend and hibernation.

The other two patches implement the new suspend and hibernation callbacks
for the platform and PCI bus types (3rd revision of both).

The main differences between these patches and the previous revision:
* Dropped 'struct pm_noirq_ops' and introduced 'struct pm_ext_ops' that is a
  derivative of 'struct pm_ops' (adds the _noirq operations).
* Made device_pm_add() refuse to add devices for which
  dev->parent->power.status == DPM_INVALID
* Clarified (hopefully) the new platform and pci driver code

Please review.

Thanks,
Rafael


^ permalink raw reply	[flat|nested] 32+ messages in thread
* [RFC][PATCH 0/3] PM: Rework suspend and hibernation code for devices (rev. 4)
@ 2008-04-02  0:07 Rafael J. Wysocki
  2008-04-02  0:10 ` [RFC][PATCH 2/3] PM: New suspend and hibernation callbacks for platform bus type (rev. 3) Rafael J. Wysocki
  0 siblings, 1 reply; 32+ messages in thread
From: Rafael J. Wysocki @ 2008-04-02  0:07 UTC (permalink / raw)
  To: pm list
  Cc: ACPI Devel Maling List, Alan Stern, Greg KH, Len Brown, LKML,
	Alexey Starikovskiy, David Brownell, Pavel Machek,
	Benjamin Herrenschmidt, Oliver Neukum, Nigel Cunningham

Hi,

This is the 4th revision of the patches intended to start the redesign of the suspend
and hibernation framework for devices, addressing (hopefully) all of the recent
comments.

Patch [1/3] is the 7th revision of the patch introducing new callbacks for
suspend and hibernation.

The other two patches implement the new suspend and hibernation callbacks
for the platform and PCI bus types (3rd revision of both).

The main differences between these patches and the previous revision:
* Dropped DPM_INVALID and made the PM core only report errors returned by
  resume callbacks, without handling them in any other way
* Updated the comments in pm.h accordingly
* Added a function for printing error messages to main.c

The platform and PCI patches are unchanged.

More comments welcome.

Thanks,
Rafael


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

end of thread, other threads:[~2008-04-02 20:42 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-29 22:17 [RFC][PATCH 0/3] PM: Rework suspend and hibernation code for devices (rev. 3) Rafael J. Wysocki
2008-03-29 22:20 ` [RFC][PATCH 1/3] PM: Introduce new top level suspend and hibernation callbacks (rev. 5) Rafael J. Wysocki
2008-03-30  2:54   ` Rafael J. Wysocki
2008-03-31 21:29     ` [RFC][PATCH] PM: Introduce new top level suspend and hibernation callbacks (rev. 6) Rafael J. Wysocki
2008-04-01  8:15       ` Nigel Cunningham
2008-04-01  8:27         ` Benjamin Herrenschmidt
2008-04-01 14:31           ` Alan Stern
2008-04-01 19:34             ` Nigel Cunningham
2008-04-01 20:16           ` Rafael J. Wysocki
2008-04-01 20:12         ` Rafael J. Wysocki
2008-04-01 20:56           ` Alan Stern
2008-04-01 21:38             ` Nigel Cunningham
2008-04-01 21:59               ` Rafael J. Wysocki
2008-04-01 21:50             ` Rafael J. Wysocki
2008-04-02 14:11               ` Alan Stern
2008-04-02 14:22                 ` Oliver Neukum
2008-04-02 15:13                   ` Alan Stern
2008-04-02 15:28                     ` Oliver Neukum
2008-04-02 16:42                       ` Alan Stern
2008-04-02 20:11                         ` Oliver Neukum
2008-04-02 20:28                           ` Alan Stern
2008-04-01 21:35           ` Nigel Cunningham
2008-04-01 21:57             ` Rafael J. Wysocki
2008-04-01 22:32               ` Nigel Cunningham
2008-04-01 23:00                 ` Rafael J. Wysocki
2008-04-01  8:37       ` Pavel Machek
2008-04-01 20:23         ` Rafael J. Wysocki
2008-03-29 22:22 ` [RFC][PATCH 2/3] PM: New suspend and hibernation callbacks for platform bus type (rev. 3) Rafael J. Wysocki
2008-03-30  2:56   ` Rafael J. Wysocki
2008-03-29 22:23 ` [RFC][PATCH 3/3] PM: New suspend and hibernation callbacks for PCI " Rafael J. Wysocki
2008-04-02  0:07 [RFC][PATCH 0/3] PM: Rework suspend and hibernation code for devices (rev. 4) Rafael J. Wysocki
2008-04-02  0:10 ` [RFC][PATCH 2/3] PM: New suspend and hibernation callbacks for platform bus type (rev. 3) Rafael J. Wysocki
2008-04-02 13:14   ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).