From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [RFC][PATCH 2/2] PM: Rework handling of interrupts during suspend-resume Date: Wed, 25 Feb 2009 08:19:24 -0800 (PST) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Alan Stern Cc: Jeremy Fitzhardinge , LKML , Jesse Barnes , "Eric W. Biederman" , pm list , Thomas Gleixner , Ingo Molnar List-Id: linux-pm@vger.kernel.org On Wed, 25 Feb 2009, Alan Stern wrote: > On Tue, 24 Feb 2009, Rafael J. Wysocki wrote: > > > I think the most important source of level triggered interrupts are PCI > > devices, so perhaps we can make the PCI PM core use bit 10 of the PCI Device > > Control register to prevent devices from generating INTx after the drivers' > > suspend routines have been executed? > > I wish that were true. As I recall, the original PCI specification did > not define this bit, and older PCI devices don't support it. So you > can't count on being able to supress interrupt generation this way. It's definitely a new feature. In fact, I think even the current one makes it optional, so even for "new" devices it's very unclear how many of them actually support that bit. Linus