linux/drivers/mtd/chips
Alexey Korolev fb6d080c6f mtd: fix broken state in CFI driver caused by FL_SHUTDOWN
THe CFI driver in 2.6.24 kernel is broken.  Not so intensive read/write
operations cause incomplete writes which lead to kernel panics in JFFS2.

We investigated the issue - it is caused by bug in FL_SHUTDOWN parsing code.
Sometimes chip returns -EIO as if it is in FL_SHUTDOWN state when it should
wait in FL_PONT (error in order of conditions).

The following patch fixes the bug in state parsing code of CFI.  Also I've
added comments to notify developers if they want to add new case in future.

Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Reviewed-by: Joern Engel <joern@logfs.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-04 14:46:26 -07:00
..
cfi_cmdset_0001.c mtd: fix broken state in CFI driver caused by FL_SHUTDOWN 2008-04-04 14:46:26 -07:00
cfi_cmdset_0002.c [MTD] Unlocking all Intel flash that is locked on power up. 2008-02-03 18:25:16 +11:00
cfi_cmdset_0020.c [MTD] [NOR] Fix oops in cfi_amdstd_sync 2007-03-08 09:22:38 +00:00
cfi_probe.c [MTD] [NOR] Fix incorrect interface code for x16/x32 chips 2008-01-10 22:07:12 +00: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] [NOR] fix startup lock when using multiple nor flash chips 2008-02-07 10:38:12 +00:00
jedec_probe.c [MTD] jedec probe: drop unnecessary forward declarations 2008-02-03 17:58:05 +11: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