From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com ([192.55.52.115]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YBCfd-0001Wz-NV for linux-mtd@lists.infradead.org; Wed, 14 Jan 2015 01:22:54 +0000 Date: Wed, 14 Jan 2015 09:20:35 +0800 From: Huang Shijie To: Frank.Li@freescale.com Subject: Re: [PATCH 1/1] mtd: fsl-quadspi: improve read performance by increase AHB transfer size Message-ID: <20150114012035.GA11245@hsj.sh.intel.com> References: <1421166536-13601-1-git-send-email-Frank.Li@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1421166536-13601-1-git-send-email-Frank.Li@freescale.com> Cc: lznuaa@gmail.com, linux-mtd@lists.infradead.org, Allen Xu , computersforpeace@gmail.com, shijie8@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Jan 14, 2015 at 12:28:56AM +0800, Frank.Li@freescale.com wrote: > From: Allen Xu > > 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@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@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 > Signed-off-by: Huang Shijie > Signed-off-by: Frank Li 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