Files
twx-linux/drivers
Lars Persson b142075137 net: stmmac: Set dma ring length before enabling the DMA
This was fixed in upstream by commit 7d9e6c5afa ("net: stmmac: Integrate
XGMAC into main driver flow") that is a new feature commit.

We found a race condition in the DMA init sequence that hits if the
PHY already has link up during stmmac_hw_setup. Since the ring length
was programmed after enabling the RX path, we might receive a packet
before the correct ring length is programmed. When that happened we
could not get reliable interrupts for DMA RX and the MTL complained
about RX FIFO overrun.

Signed-off-by: Lars Persson <larper@axis.com>
Cc: stable@vger.kernel.org # 4.9.x
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-04-20 09:07:54 +02:00
..
…
2019-02-12 19:44:54 +01:00
…
…
…
…
…
…
…
…
…
…
2018-12-21 14:11:37 +01:00
…
…
2019-04-05 22:29:12 +02:00
…
…
…
…
…
…
…
…
2018-12-21 14:11:36 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…