From: "Rafael J. Wysocki" Subject: Re: [RFC][PATCH] PM: Separate suspend and hibernation callbacks (highest level) Date: Sun, 2 Mar 2008 19:13:08 +0100 Message-ID: <200803021913.09104.rjw@sisk.pl> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from ogre.sisk.pl ([217.79.144.158]:39932 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751814AbYCBSOd (ORCPT ); Sun, 2 Mar 2008 13:14:33 -0500 In-Reply-To: Content-Disposition: inline Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Alan Stern Cc: pm list , ACPI Devel Maling List , Alexey Starikovskiy , Len Brown , Pavel Machek , David Brownell On Sunday, 2 of March 2008, Alan Stern wrote: > 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? Not ready yet. I wanted to let people know what we're working on to avoid duplication of efforts etc. Still, if you have comments at this stage, please post them. :-) Thanks, Rafael