Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755305AbZBABU1 (ORCPT ); Sat, 31 Jan 2009 20:20:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752042AbZBABUJ (ORCPT ); Sat, 31 Jan 2009 20:20:09 -0500 Received: from casper.infradead.org ([85.118.1.10]:36183 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751678AbZBABUI (ORCPT ); Sat, 31 Jan 2009 20:20:08 -0500 Date: Sat, 31 Jan 2009 17:20:05 -0800 From: Arjan van de Ven To: Linus Torvalds Cc: "Rafael J. Wysocki" , Parag Warudkar , Matt Carlson , "netdev@vger.kernel.org" , Linux Kernel Mailing List , "David S. Miller" , Andrew Morton Subject: Re: What should PCI core do during suspend-resume? (was: Re: 2.6.29-rc3: tg3 dead after resume) Message-ID: <20090131172005.4f107d9e@infradead.org> In-Reply-To: References: <200902010136.55375.rjw@sisk.pl> Organization: Intel X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.5; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1412 Lines: 36 On Sat, 31 Jan 2009 17:06:47 -0800 (PST) Linus Torvalds wrote: > > > On Sun, 1 Feb 2009, Rafael J. Wysocki wrote: > > > > All this leads to the conclusion that we should put devices into > > low power states with interrupts off and this seems to imply that > > we'll need to make the AML interpreter allow us to run AML with > > interrupts off. > > How many devices actually have the _PS3 method (or whatever it is > that we end up executing)? We might be able to simply flag it, and > say "ok, if we have a _PS3 method, we'll have to suspend early, > otherwise we can leave it for a late suspend". > in this area there's a pet pieve of mine, or rather something that shows up on kerneloops.org quite a bit: There are several PCI quirks that get run with irqs off, but they are just the "normal" boot time quirks, and when they get run there, they can sleep. Some of them do things like call ioremap() and the like.... from memory some of the asus and via quirks come to mind... -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- 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/