Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-12-03 Thread Robert Jarzmik
Haojian Zhuang writes: > > I think that it's a kind of irq muxing, just like lots of PMIC (power > management IC). > We should move the lubbock board irqs to a mfd driver, and register them as > threaded irqs. I will have a look. I didn't consider mfd for motherboard gates, I'll think of it,

Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-12-03 Thread Robert Jarzmik
Haojian Zhuang haojian.zhu...@gmail.com writes: I think that it's a kind of irq muxing, just like lots of PMIC (power management IC). We should move the lubbock board irqs to a mfd driver, and register them as threaded irqs. I will have a look. I didn't consider mfd for motherboard gates,

Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-11-28 Thread Haojian Zhuang
On Fri, Nov 28, 2014 at 9:30 PM, Robert Jarzmik wrote: > Thomas Gleixner writes: > >> So what is the relationship between installing that chained handler >> and that gpio-pxa probe stuff? > The relation is in gpio-pxa probe, look at the extract of pxa_gpio_probe() : > pxa_gpio_probe() >

Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-11-28 Thread Robert Jarzmik
Thomas Gleixner writes: > So what is the relationship between installing that chained handler > and that gpio-pxa probe stuff? The relation is in gpio-pxa probe, look at the extract of pxa_gpio_probe() : pxa_gpio_probe() irq = gpio_to_irq(0);

Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-11-28 Thread Robert Jarzmik
Thomas Gleixner t...@linutronix.de writes: So what is the relationship between installing that chained handler and that gpio-pxa probe stuff? The relation is in gpio-pxa probe, look at the extract of pxa_gpio_probe() : pxa_gpio_probe() irq = gpio_to_irq(0);

Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-11-28 Thread Haojian Zhuang
On Fri, Nov 28, 2014 at 9:30 PM, Robert Jarzmik robert.jarz...@free.fr wrote: Thomas Gleixner t...@linutronix.de writes: So what is the relationship between installing that chained handler and that gpio-pxa probe stuff? The relation is in gpio-pxa probe, look at the extract of

Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-11-27 Thread Thomas Gleixner
On Thu, 27 Nov 2014, Robert Jarzmik wrote: > When gpio-pxa was moved to drivers/pxa, it became a driver, and its > initialization and probing happen at postcore initcall. The lubbock code > used to install the chained lubbock interrupt handler at init_irq() > time. > > The consequence of the

Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-11-27 Thread Dmitry Eremin-Solenikov
On Thu, 27 Nov 2014 19:42:01 +0100, Robert Jarzmik wrote: > When gpio-pxa was moved to drivers/pxa, it became a driver, and its > initialization and probing happen at postcore initcall. The lubbock code > used to install the chained lubbock interrupt handler at init_irq() > time. > > The

[PATCH] ARM: pxa: fix lubbock interrupts handling

2014-11-27 Thread Robert Jarzmik
When gpio-pxa was moved to drivers/pxa, it became a driver, and its initialization and probing happen at postcore initcall. The lubbock code used to install the chained lubbock interrupt handler at init_irq() time. The consequence of the gpio-pxa change is that the installed chained irq handler

[PATCH] ARM: pxa: fix lubbock interrupts handling

2014-11-27 Thread Robert Jarzmik
When gpio-pxa was moved to drivers/pxa, it became a driver, and its initialization and probing happen at postcore initcall. The lubbock code used to install the chained lubbock interrupt handler at init_irq() time. The consequence of the gpio-pxa change is that the installed chained irq handler

Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-11-27 Thread Dmitry Eremin-Solenikov
On Thu, 27 Nov 2014 19:42:01 +0100, Robert Jarzmik wrote: When gpio-pxa was moved to drivers/pxa, it became a driver, and its initialization and probing happen at postcore initcall. The lubbock code used to install the chained lubbock interrupt handler at init_irq() time. The consequence of

Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-11-27 Thread Thomas Gleixner
On Thu, 27 Nov 2014, Robert Jarzmik wrote: When gpio-pxa was moved to drivers/pxa, it became a driver, and its initialization and probing happen at postcore initcall. The lubbock code used to install the chained lubbock interrupt handler at init_irq() time. The consequence of the gpio-pxa