kernel_optimize_test/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 [MTD] [NOR] Fix oops in cfi_amdstd_sync 2007-03-08 09:22:38 +00:00
cfi_probe.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cfi_util.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
chipreg.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fwh_lock.h [MTD] Fix fwh_lock locking 2007-04-17 14:11:20 -04:00
gen_probe.c [MTD] Remove trailing whitespace 2006-11-30 08:17:38 +00:00
jedec_probe.c [MTD] Clean up duplicate includes in drivers/mtd/ 2007-07-23 11:56:27 +01:00
Kconfig [MTD] [CHIPS] Remove MTD_OBSOLETE_CHIPS (jedec, amd_flash, sharp) 2007-05-09 13:34:37 +01:00
Makefile [MTD] [CHIPS] Remove MTD_OBSOLETE_CHIPS (jedec, amd_flash, sharp) 2007-05-09 13:34:37 +01:00
map_absent.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
map_ram.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
map_rom.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00