On Thu, Oct 17, 2019 at 5:22 AM Patrick Wildt <[email protected]> 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 <[email protected]> > --- > drivers/nvme/nvme.c | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) >
Reviewed-by: Bin Meng <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

