From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pd0-f179.google.com ([209.85.192.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YJaAo-00074f-Sa for linux-mtd@lists.infradead.org; Fri, 06 Feb 2015 04:05:43 +0000 Received: by pdjg10 with SMTP id g10so5933026pdj.1 for ; Thu, 05 Feb 2015 20:05:22 -0800 (PST) Date: Thu, 5 Feb 2015 20:05:18 -0800 From: Brian Norris To: Frank.Li@freescale.com Subject: Re: [PATCH 1/1] mtd: fsl-quadspi: improve read performance by increase AHB transfer size Message-ID: <20150206040518.GE18140@ld-irv-0074> 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 , 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 Pushed to l2-mtd.git. Thanks. Brian