diff options
author | Deepak Sikri <deepak.sikri@st.com> | 2012-07-08 21:14:45 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-09 14:37:51 -0700 |
commit | 8e83989106562326bfd6aaf92174fe138efd026b (patch) | |
tree | 9561ae1bf2f7468a730eac175fd0d6e8475f92f5 /samples/kfifo | |
parent | c1109736bcdd14b590392e9a96d66e7e823f9e67 (diff) | |
download | blackbird-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