
1 Nov
2019
1 Nov
'19
2:31 p.m.
On Wed, Oct 16, 2019 at 11:22:50PM +0200, Patrick Wildt wrote:
It's possible that the data cache for the buffer still holds data to be flushed to memory, since the buffer was probably used as stack before. Thus we need to make sure to flush it also on reads, since it's possible that the cache is automatically flused to memory after the NVMe DMA transfer happened, thus overwriting the NVMe transfer's data. Also add a missing dcache flush for the prp list.
Signed-off-by: Patrick Wildt patrick@blueri.se Reviewed-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot/master, thanks!
--
Tom