[PATCH v2] nvme: invalidate correct memory range after read

Tom Rini trini at konsulko.com
Wed Oct 13 16:16:21 CEST 2021


On Mon, Oct 04, 2021 at 11:24:51AM +0200, Stefan Agner wrote:

> The current code invalidates the range after the read buffer since the
> buffer pointer gets incremented in the read loop. Use a temporary
> pointer to make sure we have a pristine pointer to invalidate the
> correct memory range after read.
> 
> Fixes: 704e040a51d2 ("nvme: Apply cache operations on the DMA buffers")
> Reviewed-by: Andre Przywara <andre.przywara at arm.com>
> Signed-off-by: Stefan Agner <stefan at agner.ch>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211013/2f980d5a/attachment.sig>


More information about the U-Boot mailing list