Re: [PATCH v3] gpio: dwapb: use a second irq chip

2014-05-28 Thread Sebastian Andrzej Siewior
On 05/28/2014 11:01 AM, Linus Walleij wrote: > On Tue, May 27, 2014 at 6:30 PM, Sebastian Andrzej Siewior > wrote: > >> What remains in my queue is: >> >> * gpio: dwapb: use irq_linear_revmap() for the faster lookup >> * gpio: dwapb: use irq_gc_lock() for locking instead bc's lock >> * gpio:

Re: [PATCH v3] gpio: dwapb: use a second irq chip

2014-05-28 Thread Linus Walleij
On Tue, May 27, 2014 at 6:30 PM, Sebastian Andrzej Siewior wrote: > What remains in my queue is: > > * gpio: dwapb: use irq_linear_revmap() for the faster lookup > * gpio: dwapb: use irq_gc_lock() for locking instead bc's lock > * gpio: dwapb: use d->mask instead of BIT(bit) > > what do we do

Re: [PATCH v3] gpio: dwapb: use a second irq chip

2014-05-28 Thread Linus Walleij
On Tue, May 27, 2014 at 6:30 PM, Sebastian Andrzej Siewior bige...@linutronix.de wrote: What remains in my queue is: * gpio: dwapb: use irq_linear_revmap() for the faster lookup * gpio: dwapb: use irq_gc_lock() for locking instead bc's lock * gpio: dwapb: use d-mask instead of BIT(bit)

Re: [PATCH v3] gpio: dwapb: use a second irq chip

2014-05-28 Thread Sebastian Andrzej Siewior
On 05/28/2014 11:01 AM, Linus Walleij wrote: On Tue, May 27, 2014 at 6:30 PM, Sebastian Andrzej Siewior bige...@linutronix.de wrote: What remains in my queue is: * gpio: dwapb: use irq_linear_revmap() for the faster lookup * gpio: dwapb: use irq_gc_lock() for locking instead bc's lock *

Re: [PATCH v3] gpio: dwapb: use a second irq chip

2014-05-27 Thread Sebastian Andrzej Siewior
On 05/27/2014 04:21 PM, Linus Walleij wrote: > OK this version applied worked fine. Thank you. > Please check the result because I had to rebase it a little. Looks good. What remains in my queue is: * gpio: dwapb: use irq_linear_revmap() for the faster lookup * gpio: dwapb: use irq_gc_lock()

Re: [PATCH v3] gpio: dwapb: use a second irq chip

2014-05-27 Thread Linus Walleij
On Mon, May 26, 2014 at 10:58 PM, Sebastian Andrzej Siewior wrote: > Right new have one irq chip running always in level mode. It would nicer > to have two irq chips where one is handling level type interrupts and > the other one is doing edge interrupts. So we can have at runtime two users >

Re: [PATCH v3] gpio: dwapb: use a second irq chip

2014-05-27 Thread Jamie Iles
On Mon, May 26, 2014 at 10:58:14PM +0200, Sebastian Andrzej Siewior wrote: > Right new have one irq chip running always in level mode. It would nicer > to have two irq chips where one is handling level type interrupts and > the other one is doing edge interrupts. So we can have at runtime two

Re: [PATCH v3] gpio: dwapb: use a second irq chip

2014-05-27 Thread Jamie Iles
On Mon, May 26, 2014 at 10:58:14PM +0200, Sebastian Andrzej Siewior wrote: Right new have one irq chip running always in level mode. It would nicer to have two irq chips where one is handling level type interrupts and the other one is doing edge interrupts. So we can have at runtime two users

Re: [PATCH v3] gpio: dwapb: use a second irq chip

2014-05-27 Thread Linus Walleij
On Mon, May 26, 2014 at 10:58 PM, Sebastian Andrzej Siewior bige...@linutronix.de wrote: Right new have one irq chip running always in level mode. It would nicer to have two irq chips where one is handling level type interrupts and the other one is doing edge interrupts. So we can have at

Re: [PATCH v3] gpio: dwapb: use a second irq chip

2014-05-27 Thread Sebastian Andrzej Siewior
On 05/27/2014 04:21 PM, Linus Walleij wrote: OK this version applied worked fine. Thank you. Please check the result because I had to rebase it a little. Looks good. What remains in my queue is: * gpio: dwapb: use irq_linear_revmap() for the faster lookup * gpio: dwapb: use irq_gc_lock() for

[PATCH v3] gpio: dwapb: use a second irq chip

2014-05-26 Thread Sebastian Andrzej Siewior
Right new have one irq chip running always in level mode. It would nicer to have two irq chips where one is handling level type interrupts and the other one is doing edge interrupts. So we can have at runtime two users where one is using edge and the other level. Acked-by: Alan Tull

[PATCH v3] gpio: dwapb: use a second irq chip

2014-05-26 Thread Sebastian Andrzej Siewior
Right new have one irq chip running always in level mode. It would nicer to have two irq chips where one is handling level type interrupts and the other one is doing edge interrupts. So we can have at runtime two users where one is using edge and the other level. Acked-by: Alan Tull