From mboxrd@z Thu Jan 1 00:00:00 1970 From: ben-linux@fluff.org (Ben Dooks) Date: Sun, 26 Sep 2010 00:08:57 +0100 Subject: Regarding hw irq to Linux irq mapping on ARM In-Reply-To: <20100924150608.GB30666@sirena.org.uk> References: <1285133481.30449.170.camel@pasglop> <4C9BE69C.9070609@fluff.org> <20100924150608.GB30666@sirena.org.uk> Message-ID: <4C9E8109.2000408@fluff.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 24/09/10 16:06, Mark Brown wrote: > On Fri, Sep 24, 2010 at 12:45:32AM +0100, Ben Dooks wrote: >> On 22/09/10 09:59, Eric Miao wrote: > >>>> And i2c in many cases want to be called from sleep'able context... might >>>> be a good idea to restrict some of these to threaded interrupts. A whole >>>> different discussion I suppose. > >> The i2c case, it is generally the code decoding the interrupt that needs >> to do this, and is part of the i2c specific driver, and is written as >> some form of thread or work-queue. > > The standard thing these days is a threaded IRQ handler. Yes, however my first point was really do we care the method for the interrupt's detection when talking about mapping them?