
6 Apr
2017
6 Apr
'17
5:34 p.m.
On 04/06/2017 05:37 AM, Eddie Cai wrote:
We should invalidate the dcache before starting the DMA. In case there are any dirty lines from the DMA buffer in the cache, subsequent cache-line replacements may corrupt the buffer in memory while the DMA is still going on. Cache-line replacement can happen if the CPU tries to bring some other memory locations into the cache while the DMA is going on.
Signed-off-by: Eddie Cai eddie.cai.linux@gmail.com Reviewed-by: Stefan BrĂ¼ns stefan.bruens@rwth-aachen.de
Applied, thanks.
--
Best regards,
Marek Vasut