From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Subject: Re: lockdep and threaded IRQs (was: ...) Date: Sat, 28 Feb 2009 22:13:37 +0100 (CET) Message-ID: References: <1235762883-20870-1-git-send-email-me@felipebalbi.com> <200902280416.26687.david-b@pacbell.net> <200902281202.36804.david-b@pacbell.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from www.tglx.de ([62.245.132.106]:42273 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754028AbZB1VOO (ORCPT ); Sat, 28 Feb 2009 16:14:14 -0500 In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: David Brownell Cc: Andrew Morton , me@felipebalbi.com, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, felipe.balbi@nokia.com, dmitry.torokhov@gmail.com, sameo@openedhand.com, a.p.zijlstra@chello.nl On Sat, 28 Feb 2009, Thomas Gleixner wrote: > On Sat, 28 Feb 2009, David Brownell wrote: > > Got a version that applies to mainline GIT? > > http://tglx.de/~tglx/patches.tar.bz2 > > > At a quick glance it looks like these patches don't cover > > set_irq_chained_handler(), which would be trouble since > > __setup_irq() doesn't get called in those cases. > > Hmm, I did not think about chained handlers where the demux handler > needs to run in a thread as well. Usually demux handlers just have a > fast path kicking the particular real handlers. I looked at the code in twl4030-irq.c and I don't think that the demux handler needs to be setup as a chained handler at all. Just register it as a standard handler and let it wakeup the other irq threads or is there a particular requirement that the demuxed handlers need to run in the same thread context as the demux handler itself ? Thanks, tglx