linux/drivers/mtd
Alexey Korolev 46a1652c28 [MTD] Fixes of performance and stability issues in CFI driver.
Fix of performance and stability issues on Intel NOR chips. It fixes:

1. Very low write performance on Sibley (perf tests demonstrated write
   performance less than 100Kb/sec when it should be over 400Kb/sec).

2. Low erase performance. (perf tests on Sibleuy demonstrated erase
   performance 246Kb/sec when it should be over 300Kb/sec).

3. Error on JFFS2 tests with CPU loading application when MTD returns
   "block erase error: (status timeout)" To fix the issue it does the
   following:
     1. Removes the timeout tuning from inval_cache_and_wait_for_operation.
     2. Waiting conditions in inval_cache_and_wait_for_operation now is
         based on timer resolution
        If timeout is lower than timer resolution then we do in cycle
	  "Checking the status"
	  udelay(1);
	  cond_resched();
        If timeout is greater than timer resolution (probably erase
        operation) We do the following
	  sleep for half of operation timeout and do in cycle the following
	    "Checking the status"
	    sleep for timer resolution

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-07-15 13:43:59 +01:00
..
chips [MTD] Fixes of performance and stability issues in CFI driver. 2006-07-15 13:43:59 +01:00
devices block2mtd.c: Make kernel boot command line arguments work (try 4) 2006-07-15 13:39:10 +01:00
maps Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nand [MTD NAND] Fix lookup error in nand_get_flash_type() 2006-07-15 13:26:18 +01:00
onenand
afs.c
cmdlinepart.c
ftl.c
inftlcore.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
inftlmount.c
Kconfig
Makefile
mtd_blkdevs.c
mtdblock_ro.c
mtdblock.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mtdchar.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mtdconcat.c
mtdcore.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mtdpart.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nftlcore.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nftlmount.c
redboot.c
rfd_ftl.c