diff options
author | Stefan Agner <stefan@agner.ch> | 2021-10-04 11:24:51 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-12 16:49:21 -0400 |
commit | 30ac0b496b842ee38d941a3790c8c004f6275d04 (patch) | |
tree | d78ee5a5191925fea04c293bfcfb4f9ce47b8929 /env/nowhere.c | |
parent | 2c6bcab6e6e11030611b785d5bad50484424b128 (diff) | |
download | u-boot-30ac0b496b842ee38d941a3790c8c004f6275d04.zip u-boot-30ac0b496b842ee38d941a3790c8c004f6275d04.tar.gz u-boot-30ac0b496b842ee38d941a3790c8c004f6275d04.tar.bz2 |
nvme: invalidate correct memory range after readWIP/2021-10-12-assorted-fixes-and-updates
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>
Diffstat (limited to 'env/nowhere.c')
0 files changed, 0 insertions, 0 deletions