linux/drivers/mtd/chips
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
..
amd_flash.c [MTD] assume mtd->writesize is 1 for NOR flashes 2006-06-14 19:53:44 +04:00
cfi_cmdset_0001.c [MTD] Fixes of performance and stability issues in CFI driver. 2006-07-15 13:43:59 +01:00
cfi_cmdset_0002.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cfi_cmdset_0020.c [MTD] Introduce MTD_BIT_WRITEABLE 2006-05-22 23:18:29 +02:00
cfi_probe.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cfi_util.c [MTD] chips: Clean up trailing white spaces 2005-11-07 14:45:15 +01:00
chipreg.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fwh_lock.h [MTD] chips: Clean up trailing white spaces 2005-11-07 14:45:15 +01:00
gen_probe.c [MTD] Account for MODULE_SYMBOL_PREFIX when requesting NOR chip driver 2006-05-21 19:03:21 +01:00
jedec_probe.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
jedec.c [MTD] Initialize 'writesize' 2006-06-22 18:15:48 +04:00
Kconfig Remove use of inter_module_crap in NOR flash chip drivers. 2006-05-08 22:35:05 +01:00
Makefile Remove use of inter_module_crap in NOR flash chip drivers. 2006-05-08 22:35:05 +01:00
map_absent.c [MTD] Initialize 'writesize' 2006-06-22 18:15:48 +04:00
map_ram.c [MTD] Initialize 'writesize' 2006-06-22 18:15:48 +04:00
map_rom.c [MTD] Initialize 'writesize' 2006-06-22 18:15:48 +04:00
sharp.c [MTD] assume mtd->writesize is 1 for NOR flashes 2006-06-14 19:53:44 +04:00