From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] mfd: speedup twl4030 irq response time and decrease irq disable time Date: Mon, 27 Sep 2010 21:24:18 -0700 Message-ID: <20100928042416.GA9359@opensource.wolfsonmicro.com> References: <1285120171-3030-1-git-send-email-tom.leiming@gmail.com> <20100927154809.GI2560@sortiz-mobl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Ming Lei Cc: Samuel Ortiz , linux-omap@vger.kernel.org, Santosh Shilimkar , Balaji T K , Rajendra Nayak , Kevin Hilman , linux-kernel@vger.kernel.org List-Id: linux-omap@vger.kernel.org On Tue, Sep 28, 2010 at 08:25:24AM +0800, Ming Lei wrote: > 2010/9/27 Samuel Ortiz : > > Wouldn't converting your twl4030_irq_thread() to the threaded IRQ framework > > fix that problem ? > IRQ_DISABLED flag is set by disable_irq_nosync called from PIH handler, > then thread function can't be executed in irq thread function, so we can't > convert this to threaded IRQ framework simply. Have you raised this issue with the genirq guys? This sounds like something that the core infrastructure should be able to cope with.