Re: [PATCH] mfd: speedup twl4030 irq response time and decrease irq disable time

2010-09-27 Thread Ming Lei
2010/9/22 tom.leim...@gmail.com: From: Ming Lei tom.leim...@gmail.com This patch sets scheduler policy of twl4030 irq thread (twl4030_irq_thread) as SCHED_FIFO to speedup irq response time, just like taken by kernel threaded irq in irq_thread (kernel/irq/manage.c). Also higher priority than

Re: [PATCH] mfd: speedup twl4030 irq response time and decrease irq disable time

2010-09-27 Thread Samuel Ortiz
Hi Tom, On Wed, Sep 22, 2010 at 09:49:31AM +0800, tom.leim...@gmail.com wrote: From: Ming Lei tom.leim...@gmail.com This patch sets scheduler policy of twl4030 irq thread (twl4030_irq_thread) as SCHED_FIFO to speedup irq response time, just like taken by kernel threaded irq in irq_thread

Re: [PATCH] mfd: speedup twl4030 irq response time and decrease irq disable time

2010-09-27 Thread Ming Lei
Hi Samuel, Thanks for your comment. 2010/9/27 Samuel Ortiz sa...@linux.intel.com: Hi Tom, On Wed, Sep 22, 2010 at 09:49:31AM +0800, tom.leim...@gmail.com wrote: From: Ming Lei tom.leim...@gmail.com This patch sets scheduler policy of twl4030 irq thread (twl4030_irq_thread) as

Re: [PATCH] mfd: speedup twl4030 irq response time and decrease irq disable time

2010-09-27 Thread Mark Brown
On Tue, Sep 28, 2010 at 08:25:24AM +0800, Ming Lei wrote: 2010/9/27 Samuel Ortiz sa...@linux.intel.com: 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

Re: [PATCH] mfd: speedup twl4030 irq response time and decrease irq disable time

2010-09-27 Thread Ming Lei
CC genirq guys 2010/9/28 Mark Brown broo...@opensource.wolfsonmicro.com: On Tue, Sep 28, 2010 at 08:25:24AM +0800, Ming Lei wrote: 2010/9/27 Samuel Ortiz sa...@linux.intel.com: Wouldn't converting your twl4030_irq_thread() to the threaded IRQ framework fix that problem ? IRQ_DISABLED

Re: [PATCH] mfd: speedup twl4030 irq response time and decrease irq disable time

2010-09-27 Thread Mark Brown
On Tue, Sep 28, 2010 at 01:01:32PM +0800, Ming Lei wrote: 2010/9/28 Mark Brown broo...@opensource.wolfsonmicro.com: Have you raised this issue with the genirq guys?  This sounds like something that the core infrastructure should be able to cope with. Even genirq guys can help us to convert