Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755934AbZBABHJ (ORCPT ); Sat, 31 Jan 2009 20:07:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754388AbZBABGy (ORCPT ); Sat, 31 Jan 2009 20:06:54 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:36950 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753866AbZBABGx (ORCPT ); Sat, 31 Jan 2009 20:06:53 -0500 Date: Sat, 31 Jan 2009 17:06:47 -0800 (PST) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: "Rafael J. Wysocki" cc: 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) In-Reply-To: <200902010136.55375.rjw@sisk.pl> Message-ID: References: <200902010136.55375.rjw@sisk.pl> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1099 Lines: 26 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". Definitely not perfect, but perhaps a way to get the safe thing on 99% of all cases, and have to live with the horrid ACPI rules on some things. I thought the _DSW thing is common for setting up wakeup, but _PSx is not. But I have not looked at many ACPI tables in my life. I try to active avoid it if I at all humanly can. Linus -- 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/