From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arjan van de Ven Subject: Re: [linux-pm] [patch update 2 fix] PM: Introduce core framework for run-time PM of I/O devices Date: Mon, 22 Jun 2009 06:49:15 -0700 Message-ID: <20090622064915.741154a7@infradead.org> References: <20090621234324.06fda564@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from casper.infradead.org ([85.118.1.10]:40080 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751337AbZFVNs3 convert rfc822-to-8bit (ORCPT ); Mon, 22 Jun 2009 09:48:29 -0400 In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Magnus Damm Cc: Alan Stern , "Rafael J. Wysocki" , Greg KH , LKML , ACPI Devel Maling List , Linux-pm mailing list , Ingo Molnar On Mon, 22 Jun 2009 16:27:29 +0900 Magnus Damm wrote: > On Mon, Jun 22, 2009 at 3:43 PM, Arjan van de > Ven wrote: > > On Mon, 22 Jun 2009 15:20:43 +0900 > > Magnus Damm wrote: > > > >> On Sat, Jun 20, 2009 at 11:30 PM, Alan > >> Stern wrote: > >> > Some more thoughts... > >> > > >> > Magnus, you might have some insights here. =C2=A0It occurred to = me > >> > that some devices can switch power levels very quickly, and the > >> > drivers might therefore want the runtime suspend and resume > >> > methods to be called as soon as possible, even in interrupt > >> > context. > >> > >> I'd like to call pm_request_suspend() from interrupt context. I > >> don't > > > > there are some really strong reasons to at least be able to call th= e > > resume function from an interrupt handler.... shared interrupts are > > one of them. >=20 > I suppose you mean that you need to resume the hardware device before > you can check if it has a pending interrupt source? If so then you > also mean that suspended hardware devices may generate interrupts, no= ? yes and no. For the shared interrupt case.. no. but yes for the hw I have in mind (and on my desk ;-) that can happen as well from the device itself. --=20 Arjan van de Ven Intel Open Source Technology Centre =46or development, discussion and tips for power savings,=20 visit http://www.lesswatts.org -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html