Re: [U-Boot] [PATCH] dm: core: Ensure DMA regions start up with the cache clean

2017-04-13 Thread Simon Glass
On 4 April 2017 at 13:00, Simon Glass wrote: > There is a strange interaction with drivers which use DMA if the cache > starts off in a dirty state. Buffer space which the driver reads (but has > not previously written) can contain zero bytes from alloc_priv(). This can > cause corruption of the m

[U-Boot] [PATCH] dm: core: Ensure DMA regions start up with the cache clean

2017-04-04 Thread Simon Glass
There is a strange interaction with drivers which use DMA if the cache starts off in a dirty state. Buffer space which the driver reads (but has not previously written) can contain zero bytes from alloc_priv(). This can cause corruption of the memory used by DMA for incoming data. Fix this and add