From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932489AbXCEPWu (ORCPT ); Mon, 5 Mar 2007 10:22:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932914AbXCEPWu (ORCPT ); Mon, 5 Mar 2007 10:22:50 -0500 Received: from 85.8.24.16.se.wasadata.net ([85.8.24.16]:47466 "EHLO smtp.drzeus.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932489AbXCEPWt (ORCPT ); Mon, 5 Mar 2007 10:22:49 -0500 Message-ID: <45EC3609.4030809@drzeus.cx> Date: Mon, 05 Mar 2007 16:23:53 +0100 From: Pierre Ossman User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: Mark Lord CC: sdhci-devel@list.drzeus.cx, Adrian Bunk , Andrew Morton , Linux Kernel Mailing List Subject: Re: [BUG] sdhci regression in 2.6.21-rc2 References: <20070305015031.GF3441@stusta.de> <45EB9DC6.8010403@rtr.ca> <45EB9E72.6040107@rtr.ca> <45EBAC73.7010600@drzeus.cx> <45EC2851.7020905@rtr.ca> <45EC352C.4070508@drzeus.cx> In-Reply-To: <45EC352C.4070508@drzeus.cx> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Pierre Ossman wrote: > Mark Lord wrote: >> But.. in the middle of all of this, we now see the SHDCI code >> trying to talk to its as-yet-not-restored device, and being rather >> noisy about it all: >> > > Not quite. I'd say it's the kernel calling the interrupt handler of a > currently sleeping device. Since we're seeing this problem I assume the > kernel's interrupt code isn't aware of PM states? > Hmm... I guess it can't be as the interrupt handler isn't associated with a device, just a random pointer. So either release the interrupt (which seems a bit unsafe as then we might not get it back), or handle states at the start of the isr. Rgds -- -- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org PulseAudio, core developer http://pulseaudio.org rdesktop, core developer http://www.rdesktop.org