Searched hist:"07314278086 d5b71916c9eae591bcf1bf265a663" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | dwc_eth_qos.c | 07314278086d5b71916c9eae591bcf1bf265a663 Mon Mar 23 01:11:46 UTC 2020 Marek Vasut <marex@denx.de> UPSTREAM: net: dwc_eth_qos: Prevent DMA from writing updated RX DMA descriptor
The DMA may attempt to write a DMA descriptor in the ring while it is being updated. By writing the DMA descriptor buffer address to 0, it is assured the DMA will not use such a buffer and the buffer can be updated without any interference.
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by: Marek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Patrice Chotard <patrice.chotard@st.com> Cc: Patrick Delaunay <patrick.delaunay@st.com> Cc: Ramon Fried <rfried.dev@gmail.com> Cc: Stephen Warren <swarren@nvidia.com> Signed-off-by: David Wu <david.wu@rock-chips.com> Change-Id: If70a57f195c146d571de20385b55ff75f7dea7db
|