[linux-pm] [RFC][PATCH] PM: Separate suspend and hibernation callbacks (highest level)

Alan Stern stern at rowland.harvard.edu
Sun Mar 2 08:23:56 PST 2008


On Sun, 2 Mar 2008, Rafael J. Wysocki wrote:

> Hi,
> 
> Below is a patch that introduces the separation of suspend and hibernation
> callbacks on the highest level, which is the PM core.  This patch is a result
> of a very recent work by Alex and me.
> 
> For now, we only take into account the callbacks necessary to replace the
> existing code, so we haven't introduced any substantially new callbacks.  The
> question is whether or not we'll need such callbacks and what purpose they
> may serve.
> 
> Moreover, we assume that the existing (legacy) ->suspend() and ->resume()
> callbacks will be used for bus types, device classes and device types that
> don't implement the new callbacks.  As a result, the patch doesn't introduce
> any visible functional changes.
> 
> It has been compilation tested on x86-64.
> 
> Comments welcome.

Where's the kerneldoc explaining the meaning of the new event codes and 
new methods?

Alan Stern



More information about the linux-pm mailing list