From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754443AbYC2W1p (ORCPT ); Sat, 29 Mar 2008 18:27:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750906AbYC2W1g (ORCPT ); Sat, 29 Mar 2008 18:27:36 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:60560 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750810AbYC2W1g (ORCPT ); Sat, 29 Mar 2008 18:27:36 -0400 From: "Rafael J. Wysocki" To: pm list Subject: [RFC][PATCH 0/3] PM: Rework suspend and hibernation code for devices (rev. 3) User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: ACPI Devel Maling List , Alan Stern , Greg KH , Len Brown , LKML , Alexey Starikovskiy , David Brownell , Pavel Machek , Benjamin Herrenschmidt , Oliver Neukum MIME-Version: 1.0 Content-Disposition: inline Date: Sat, 29 Mar 2008 23:17:49 +0100 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Message-Id: <200803292317.50218.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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