atmel-software-package icon indicating copy to clipboard operation
atmel-software-package copied to clipboard

Missing cache invalidation in dma.c before DMA transfer

Open frebjo opened this issue 1 year ago • 1 comments

This cache invalidation before DMA transfer ensures that during the DMA transfer the cache has no dirty lines associated to the buffer, which could be written back to memory.

See https://developer.arm.com/documentation/den0013/d/Memory-Ordering/Cache-coherency-implications

frebjo avatar Apr 26 '24 09:04 frebjo

dma.patch

PATCH.

frebjo avatar Apr 26 '24 09:04 frebjo