Re: [PATCH] irqchip: or1k-pic: Fix interrupt system.

2017-06-30 Thread Stafford Horne
On Fri, Jun 30, 2017 at 02:09:32PM +0100, Marc Zyngier wrote: > On 30/06/17 14:04, Stafford Horne wrote: > > +CC Kernel List > > > > On Fri, Jun 30, 2017 at 08:33:56AM -0300, Pedro H. Penna wrote: > >> Usually, hardware implicitly acknowledges interruts when > >> reading them. However, if this is

Re: [PATCH] irqchip: or1k-pic: Fix interrupt system.

2017-06-30 Thread Marc Zyngier
On 30/06/17 14:04, Stafford Horne wrote: > +CC Kernel List > > On Fri, Jun 30, 2017 at 08:33:56AM -0300, Pedro H. Penna wrote: >> Usually, hardware implicitly acknowledges interruts when >> reading them. However, if this is not the case, the IRQ >> gets fired over and over again in the current imp

Re: [PATCH] irqchip: or1k-pic: Fix interrupt system.

2017-06-30 Thread Stafford Horne
+CC Kernel List On Fri, Jun 30, 2017 at 08:33:56AM -0300, Pedro H. Penna wrote: > Usually, hardware implicitly acknowledges interruts when > reading them. However, if this is not the case, the IRQ > gets fired over and over again in the current implementation. > > This patch uses the right mask a