Re: SDIO irq handler context

From: Pierre Ossman
Date: Wed Jun 03 2009 - 02:35:41 EST


On Thu, 14 May 2009 10:25:37 +0530
Kalpesh Rathod <kalpeshrathod@xxxxxxxxx> wrote:

> Hi,
>
> SDIO driver irq handler runs in which context?
> It always runs in process context ?
> or
> It runs in either interrupt context or process context? If this is the case,
> in_interrupt can be used to distinguish?
>

It's run in process context as the sdio accessors sleep.

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
rdesktop, core developer http://www.rdesktop.org
TigerVNC, core developer http://www.tigervnc.org

WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.

Attachment: signature.asc
Description: PGP signature