Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757498AbZCBWDU (ORCPT ); Mon, 2 Mar 2009 17:03:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754734AbZCBWDF (ORCPT ); Mon, 2 Mar 2009 17:03:05 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:33281 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754323AbZCBWDE (ORCPT ); Mon, 2 Mar 2009 17:03:04 -0500 From: "Rafael J. Wysocki" To: Linus Torvalds Subject: Re: [RFC][PATCH 2/4] PM: Change suspend code ordering Date: Mon, 2 Mar 2009 23:02:39 +0100 User-Agent: KMail/1.11.0 (Linux/2.6.29-rc5-tst; KDE/4.2.0; x86_64; ; ) Cc: LKML , Ingo Molnar , "Eric W. Biederman" , Benjamin Herrenschmidt , Jeremy Fitzhardinge , pm list , Len Brown , Jesse Barnes , Thomas Gleixner , Arve =?iso-8859-1?q?Hj=F8nnev=E5g?= , Alan Stern , Johannes Berg References: <200902221837.49396.rjw@sisk.pl> <200903012325.53084.rjw@sisk.pl> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903022302.42067.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1187 Lines: 33 On Monday 02 March 2009, Linus Torvalds wrote: > > On Sun, 1 Mar 2009, Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki > > > > Change the ordering of the suspend core code so that the platform > > "prepare" callback is executed and the nonboot CPUs are disabled > > after calling device drivers' "late suspend" methods. > > Ok, ack on this whole series, looks fine. Thanks! > I'd like to see a 5/4 though: > > > This change will allow us to rework the PCI PM core so that the power > > state of devices is changed in the "late" phase of suspend (and > > analogously in the "early" phase of resume) > > .. doing this. Right now we have that hacky "avoid ACPI by doing a special > limited form of pci_set_power_state() and pci_enable() in the > early_resume. I'd love to see the actual PCI code cleanup too. Sure, that's the next step, but I wanted to get the ack on the preliminary patches first. :-) Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/