[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150104.221923.550321820468649239.davem@davemloft.net>
Date: Sun, 04 Jan 2015 22:19:23 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: balbi@...com
Cc: mugunthanvnm@...com, yegorslists@...glemail.com,
linux-omap@...r.kernel.org, netdev@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] net: ethernet: cpsw: fix hangs with interrupts
From: Felipe Balbi <balbi@...com>
Date: Fri, 2 Jan 2015 16:15:59 -0600
> The CPSW IP implements pulse-signaled interrupts. Due to
> that we must write a correct, pre-defined value to the
> CPDMA_MACEOIVECTOR register so the controller generates
> a pulse on the correct IRQ line to signal the End Of
> Interrupt.
>
> The way the driver is written today, all four IRQ lines
> are requested using the same IRQ handler and, because of
> that, we could fall into situations where a TX IRQ fires
> but we tell the controller that we ended an RX IRQ (or
> vice-versa). This situation triggers an IRQ storm on the
> reserved IRQ 127 of INTC which will in turn call ack_bad_irq()
> which will, then, print a ton of:
...
> Reported-by: Yegor Yefremov <yegorslists@...glemail.com>
> Fixes: 510a1e7 (drivers: net: davinci_cpdma: acknowledge interrupt properly)
> Cc: <stable@...r.kernel.org> # v3.9+
> Signed-off-by: Felipe Balbi <balbi@...com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists