summaryrefslogtreecommitdiffstats
path: root/samples/kfifo
diff options
context:
space:
mode:
authorDeepak Sikri <deepak.sikri@st.com>2012-07-08 21:14:45 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-09 14:37:51 -0700
commit8e83989106562326bfd6aaf92174fe138efd026b (patch)
tree9561ae1bf2f7468a730eac175fd0d6e8475f92f5 /samples/kfifo
parentc1109736bcdd14b590392e9a96d66e7e823f9e67 (diff)
downloadblackbird-op-linux-8e83989106562326bfd6aaf92174fe138efd026b.tar.gz
blackbird-op-linux-8e83989106562326bfd6aaf92174fe138efd026b.zip
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>
Diffstat (limited to 'samples/kfifo')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud