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 [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
afs.c [MTD] core: Clean up trailing white spaces 2005-11-07 13:37:38 +01:00
cmdlinepart.c [PATCH] mtd cmdlinepart: allow zero offset value 2006-03-31 12:18:48 -08:00
ftl.c [MTD] Make functions static, include header files with prototypes 2005-11-29 19:54:58 +01:00
inftlcore.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
inftlmount.c [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild 2006-06-26 11:05:15 -07:00
Makefile [MTD] Add initial support for OneNAND flash chips 2005-11-06 21:17:24 +01:00
mtd_blkdevs.c [PATCH] sem2mutex: drivers/mtd/ 2006-03-31 12:18:48 -08:00
mtdblock_ro.c Make mtdblock_ro unconditionally readonly 2006-04-17 15:48:16 +01:00
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 [MTD] NAND Expose the new raw mode function and status info to userspace 2006-05-30 00:37:34 +02:00
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 [MTD] Rework the out of band handling completely 2006-05-29 15:06:51 +02:00
redboot.c [MTD] Fix build warnings in RedBoot MTD partition parser. 2006-05-16 17:31:15 +01:00
rfd_ftl.c [MTD] RFD FTL: Be noisier, and don't assume block without RFD magic are erased 2006-05-17 12:45:34 +01:00