
14 Jun
2024
14 Jun
'24
4:54 p.m.
On Sun, 02 Jun 2024 17:24:03 +0900, Yasuharu Shibata wrote:
When bcmgenet complete to write Rx buffer with the DMA, some U-Boot commands write data to the buffer directly. Those write data will become dirty in CPU cache. After this driver calls free_pkt to the buffer, the buffer is assigned as the future Rx buffer. At some point, if bcmgenet writes to a buffer with DMA and CPU cache flushes dirty data to the buffer, the buffer is corrupted.
[...]
Applied to u-boot/master, thanks!
--
Tom