android_kernel_xiaomi_sm8350/drivers/mtd/chips
Massimo Cirillo 646fd12784 cache invalidation error for buffered write
The bug causes corruptions of data read from flash.

The original code performs cache invalidation from "adr" to "adr + len"
in do_write_buffer().  Since len and adr could be updated in the code
before invalidation - it causes improper setting of cache invalidation
regions.

Signed-off-by: Massimo Cirillo <maxcir@gmail.com>
Signed-off-by: Giuseppe D'Eliseo <giuseppedeliseo@gmail.com>
Acked-by: Nicolas Pitre <nico@cam.org>
Acked-by: Jörn Engel <joern@logfs.org>
Signed-off-by: David Woohouse <dwmw2@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-01-11 11:44:37 -08:00
..
cfi_cmdset_0001.c cache invalidation error for buffered write 2008-01-11 11:44:37 -08:00
cfi_cmdset_0002.c [MTD] [NOR] cfi_cmdset_0002.c: fix 'cfi_amdstd_erase_varsize' to be static 2007-06-28 20:24:19 +01:00
cfi_cmdset_0020.c
cfi_probe.c
cfi_util.c
chipreg.c
fwh_lock.h
gen_probe.c
jedec_probe.c [MTD] Clean up duplicate includes in drivers/mtd/ 2007-07-23 11:56:27 +01:00
Kconfig
Makefile
map_absent.c
map_ram.c
map_rom.c