[PATCH 1/1] mtd: fsl-quadspi: improve read performance by increase AHB transfer size

Huang Shijie shijie.huang at intel.com
Tue Jan 13 17:20:35 PST 2015


On Wed, Jan 14, 2015 at 12:28:56AM +0800, Frank.Li at freescale.com wrote:
> From: Allen Xu <b45815 at freescale.com>
> 
> Set AHB transfer size to 1K which improved the read performance.
> 
> Add ahb_buf_size field in fsl_qspi_devtype_data to denote the size for
> different SoC.
> 
> Before:
> 
> root at imx6qdlsolo:~# dd if=/dev/mtd1 of=/dev/null bs=1M count=16
> 16+0 records in
> 16+0 records out
> 16777216 bytes (17 MB) copied, 0.472183 s, 25.1 MB/s
> 
> After:
> 
> root at imx6qdlsolo:~# dd if=/dev/mtd1 of=/dev/null bs=1M count=16
> 16+0 records in
> 16+0 records out
> 16777216 bytes (17 MB) copied, 0.369439 s, 29.5 MB/s
> 
> Signed-off-by: Allen Xu <b45815 at freescale.com>
> Signed-off-by: Huang Shijie <shijie8 at gmail.com>
> Signed-off-by: Frank Li <Frank.Li at freescale.com>
This is a very good patch.

This patch has my signed-off, but if it is needed, please add my ack:
Acked-by: Huang Shijie <shijie.huang at intel.com>




More information about the linux-mtd mailing list