[PATCH v1] net: designware: Invalidate RX buffer cache before freeing the DMA descriptor
Tom Rini
trini at konsulko.com
Fri Apr 12 23:59:32 CEST 2024
On Mon, 08 Apr 2024 16:49:02 +0800, Jim Liu wrote:
> In IPv6 context, the ICMP and UDP checksum byte in the RX packet
> is initially set to 0, recaclculated, and then re-inserted.
> This process can result in a dirty cache line. To prevent issues,
> it is essential to invalidate cache for the RX buffer before freeing
> the descriptor for next DMA transfer.
> This ensure that the dirty cache line doesn't inadvertently written back
> due to cache eviction, there by corrupting the RX buffer
>
> [...]
Applied to u-boot/master, thanks!
--
Tom
More information about the U-Boot
mailing list