Re: [PATCH v2 0/4] dma-mapping: Add cache flush/invalidation to dma_{un}map_single

2020-01-23 Thread Vignesh Raghavendra
Hi Tom, On 16/01/20 2:23 pm, Vignesh Raghavendra wrote: > Drivers (especially frameworks ported from Linux such as USB) expect > dma_{un}map_single() APIs to take care of cache maintenance. But this is > not the case in U-Boot and few drivers take care of flushing caches > locally. Instead add flu

[PATCH v2 0/4] dma-mapping: Add cache flush/invalidation to dma_{un}map_single

2020-01-16 Thread Vignesh Raghavendra
Drivers (especially frameworks ported from Linux such as USB) expect dma_{un}map_single() APIs to take care of cache maintenance. But this is not the case in U-Boot and few drivers take care of flushing caches locally. Instead add flush/invalidate calls to DMA APIs in arch specific dma-mapping.h fi