Re: [PATCH] irqchip: omap-intc: improve IRQ handler

2015-07-20 Thread Felipe Balbi
On Wed, Jul 15, 2015 at 02:36:54PM +0200, Thomas Gleixner wrote: > On Wed, 15 Jul 2015, Tony Lindgren wrote: > > Felipe, > > > > * Tony Lindgren [150119 13:41]: > > > * Felipe Balbi [150102 10:50]: > > > > as it turns out the current IRQ number will > > > > *always* be available from SIR registe

Re: [PATCH] irqchip: omap-intc: improve IRQ handler

2015-07-15 Thread Thomas Gleixner
On Wed, 15 Jul 2015, Tony Lindgren wrote: > Felipe, > > * Tony Lindgren [150119 13:41]: > > * Felipe Balbi [150102 10:50]: > > > as it turns out the current IRQ number will > > > *always* be available from SIR register which > > > renders the reads of PENDING registers as plain > > > unnecessary

Re: [PATCH] irqchip: omap-intc: improve IRQ handler

2015-07-15 Thread Tony Lindgren
Felipe, * Tony Lindgren [150119 13:41]: > * Felipe Balbi [150102 10:50]: > > as it turns out the current IRQ number will > > *always* be available from SIR register which > > renders the reads of PENDING registers as plain > > unnecessary overhead. > > > > In order to catch any situation where

Re: [PATCH] irqchip: omap-intc: improve IRQ handler

2015-01-19 Thread Tony Lindgren
* Felipe Balbi [150102 10:50]: > as it turns out the current IRQ number will > *always* be available from SIR register which > renders the reads of PENDING registers as plain > unnecessary overhead. > > In order to catch any situation where SIR reads > as zero, we're adding a WARN() to turn it in

Re: [PATCH] irqchip: omap-intc: improve IRQ handler

2015-01-02 Thread Felipe Balbi
On Fri, Jan 02, 2015 at 01:32:51PM -0800, Tony Lindgren wrote: > * Felipe Balbi [150102 10:50]: > > as it turns out the current IRQ number will > > *always* be available from SIR register which > > renders the reads of PENDING registers as plain > > unnecessary overhead. > > > > In order to catch

Re: [PATCH] irqchip: omap-intc: improve IRQ handler

2015-01-02 Thread Tony Lindgren
* Felipe Balbi [150102 10:50]: > as it turns out the current IRQ number will > *always* be available from SIR register which > renders the reads of PENDING registers as plain > unnecessary overhead. > > In order to catch any situation where SIR reads > as zero, we're adding a WARN() to turn it in

[PATCH] irqchip: omap-intc: improve IRQ handler

2015-01-02 Thread Felipe Balbi
as it turns out the current IRQ number will *always* be available from SIR register which renders the reads of PENDING registers as plain unnecessary overhead. In order to catch any situation where SIR reads as zero, we're adding a WARN() to turn it into a very verbose error and users actually rep