Re: [PATCH] ARM: OMAP2+: Use handle_fasteoi_irq for INTC interrupt handling

2014-03-06 Thread Tony Lindgren
* Sørensen, Stefan [140306 06:36]: > On Mon, 2014-03-03 at 09:49 -0800, Tony Lindgren wrote: > > > 1. CPSW device asserts TX IRQ > > > 2. CPSW device asserts RX IRQ > > > 3. INTC interrupts CPU, TX IRQ marked as active > > > 4. omap_intc_handle_irq ACKs TX IRQ on the INTC > > > 5. INTC m

Re: [PATCH] ARM: OMAP2+: Use handle_fasteoi_irq for INTC interrupt handling

2014-03-06 Thread Sørensen , Stefan
On Mon, 2014-03-03 at 09:49 -0800, Tony Lindgren wrote: > > 1. CPSW device asserts TX IRQ > > 2. CPSW device asserts RX IRQ > > 3. INTC interrupts CPU, TX IRQ marked as active > > 4. omap_intc_handle_irq ACKs TX IRQ on the INTC > > 5. INTC marks RX IRQ as active > > 6. omap_

Re: [PATCH] ARM: OMAP2+: Use handle_fasteoi_irq for INTC interrupt handling

2014-03-03 Thread Tony Lindgren
* Sørensen, Stefan [140303 03:08]: > On Sun, 2014-03-02 at 09:37 -0800, Tony Lindgren wrote: > > * Sørensen, Stefan [140301 02:02]: > > > On Fri, 2014-02-28 at 09:11 -0800, Tony Lindgren wrote: > > > > * Stefan Sørensen [140224 02:12]: > > > > > Currently INTC interrupts are handled using handle

Re: [PATCH] ARM: OMAP2+: Use handle_fasteoi_irq for INTC interrupt handling

2014-03-03 Thread Sørensen , Stefan
On Sun, 2014-03-02 at 09:37 -0800, Tony Lindgren wrote: > * Sørensen, Stefan [140301 02:02]: > > On Fri, 2014-02-28 at 09:11 -0800, Tony Lindgren wrote: > > > * Stefan Sørensen [140224 02:12]: > > > > Currently INTC interrupts are handled using handle_level_irq which > > > > will acknowledge the

Re: [PATCH] ARM: OMAP2+: Use handle_fasteoi_irq for INTC interrupt handling

2014-03-02 Thread Tony Lindgren
* Sørensen, Stefan [140301 02:02]: > On Fri, 2014-02-28 at 09:11 -0800, Tony Lindgren wrote: > > * Stefan Sørensen [140224 02:12]: > > > Currently INTC interrupts are handled using handle_level_irq which > > > will acknowledge the interrupt before running the handler. If a second > > > interrupt

Re: [PATCH] ARM: OMAP2+: Use handle_fasteoi_irq for INTC interrupt handling

2014-03-01 Thread Sørensen , Stefan
On Fri, 2014-02-28 at 09:11 -0800, Tony Lindgren wrote: > * Stefan Sørensen [140224 02:12]: > > Currently INTC interrupts are handled using handle_level_irq which > > will acknowledge the interrupt before running the handler. If a second > > interrupt is then asserted and this interrupt is disable

Re: [PATCH] ARM: OMAP2+: Use handle_fasteoi_irq for INTC interrupt handling

2014-02-28 Thread Tony Lindgren
* Stefan Sørensen [140224 02:12]: > Currently INTC interrupts are handled using handle_level_irq which > will acknowledge the interrupt before running the handler. If a second > interrupt is then asserted and this interrupt is disabled while > running the first handler, the INTC will be brought in

[PATCH] ARM: OMAP2+: Use handle_fasteoi_irq for INTC interrupt handling

2014-02-24 Thread Stefan Sørensen
Currently INTC interrupts are handled using handle_level_irq which will acknowledge the interrupt before running the handler. If a second interrupt is then asserted and this interrupt is disabled while running the first handler, the INTC will be brought into an inconsistent state. In this state the