commit | 2c85230b22d79357b81c9faf9b28fd00e211a5e0 | [log] [tgz] |
---|---|---|
author | Stefan Agner <stefan@agner.ch> | Mon Oct 04 11:24:51 2021 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue Oct 12 16:49:21 2021 -0400 |
tree | d78ee5a5191925fea04c293bfcfb4f9ce47b8929 | |
parent | 396e4edbb399a9570e6b23258777fc3badf9636e [diff] |
nvme: invalidate correct memory range after read 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@arm.com> Signed-off-by: Stefan Agner <stefan@agner.ch>