From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Subject: Re: Threaded interrupts for synaptic touchscreen in HTC dream Date: Wed, 22 Jul 2009 17:15:59 +0200 (CEST) Message-ID: References: <20090721160436.GD4352@dtor-d630.eng.vmware.com> <20090721222547.GA1948@opensource.wolfsonmicro.com> <20090722121800.GD21171@rakim.wolfsonmicro.main> <1248269443.27058.1449.camel@twins> <20090722143211.GB29404@rakim.wolfsonmicro.main> <20090722145654.GA4987@rakim.wolfsonmicro.main> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: <20090722145654.GA4987@rakim.wolfsonmicro.main> Sender: linux-input-owner@vger.kernel.org To: Mark Brown Cc: Peter Zijlstra , Dmitry Torokhov , Trilok Soni , Pavel Machek , Arve Hj?nnev?g , kernel list , Brian Swetland , linux-input@vger.kernel.org, Andrew Morton , linux-i2c@vger.kernel.org, Joonyoung Shim , m.szyprowski@samsung.com, t.fujak@samsung.com, kyungmin.park@samsung.com, David Brownell , Daniel Ribeiro List-Id: linux-i2c@vger.kernel.org On Wed, 22 Jul 2009, Mark Brown wrote: > On Wed, Jul 22, 2009 at 04:52:21PM +0200, Thomas Gleixner wrote: > > On Wed, 22 Jul 2009, Mark Brown wrote: > > > > The chips I'm deling with can certainly support doing that but I'm not > > > sure there'd be enormous advantages - a lot of the interrupt handlers > > > will either be trivial (eg, RTC ticks or alarms) or be serialised by a > > > need to interact with the chip anyway. I'd expect this to be generally > > > true, though ICBW. > > > So in your case it would be possible to run the various subdevice > > thread_fn handlers from your main interrupt thread one after each > > other ? > > That's what they're all doing at present outside of genirq. They just are racy against disable/enable/request/free I guess :)