linux_dsm_epyc7002/drivers/net/ethernet/stmicro/stmmac
Deepak Sikri 8e83989106 stmmac: Fix for nfs hang on multiple reboot
It was observed that during multiple reboots nfs hangs. The status of
receive descriptors shows that all the descriptors were in control of
CPU, and none were assigned to DMA.
Also the DMA status register confirmed that the Rx buffer is
unavailable.

This patch adds the fix for the same by adding the memory barriers to
ascertain that the all instructions before enabling the Rx or Tx DMA are
completed which involves the proper setting of the ownership bit in DMA
descriptors.

Signed-off-by: Deepak Sikri <deepak.sikri@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-07-09 14:37:51 -07:00
..
chain_mode.c
common.h stmmac: add mixed burst for DMA 2012-05-14 18:53:19 -04:00
descs_com.h
descs.h
dwmac100_core.c stmmac: extend mac addr reg and fix perfect filering 2012-05-14 18:53:19 -04:00
dwmac100_dma.c stmmac: add mixed burst for DMA 2012-05-14 18:53:19 -04:00
dwmac100.h
dwmac1000_core.c stmmac: extend mac addr reg and fix perfect filering 2012-05-14 18:53:19 -04:00
dwmac1000_dma.c stmmac: add mixed burst for DMA 2012-05-14 18:53:19 -04:00
dwmac1000.h stmmac: add mixed burst for DMA 2012-05-14 18:53:19 -04:00
dwmac_dma.h stmmac: re-work the internal GMAC DMA platf parameters 2012-04-04 18:39:24 -04:00
dwmac_lib.c stmmac: extend mac addr reg and fix perfect filering 2012-05-14 18:53:19 -04:00
enh_desc.c stmmac: sanitize the rx coe and add the type-1 csum (v2) 2012-04-04 18:39:23 -04:00
Kconfig stmmac: fix driver built w/ w/o both pci and platf modules 2012-06-07 22:46:48 -07:00
Makefile stmmac: add the experimental PCI support 2011-12-21 15:44:34 -05:00
mmc_core.c stmmac: Fix compilation error in mmc_core.c 2012-01-10 14:57:20 -08:00
mmc.h
norm_desc.c stmmac: sanitize the rx coe and add the type-1 csum (v2) 2012-04-04 18:39:23 -04:00
ring_mode.c
stmmac_ethtool.c stmmac: Support the get_ts_info ethtool method. 2012-04-04 05:28:48 -04:00
stmmac_main.c stmmac: Fix for nfs hang on multiple reboot 2012-07-09 14:37:51 -07:00
stmmac_mdio.c stmmac: MDC clock dynamically based on the csr clock input 2012-04-04 18:39:24 -04:00
stmmac_pci.c stmmac: fix driver Kconfig when built as module 2012-06-06 09:34:56 -07:00
stmmac_platform.c stmmac: fix driver Kconfig when built as module 2012-06-06 09:34:56 -07:00
stmmac_timer.c
stmmac_timer.h
stmmac.h net: stmmac: Fix clock en-/disable calls 2012-06-11 16:48:15 -07:00