Re: [PATCH v2 03/12] mmc: mmc_test: add test for none blocking transfers

2011-04-20 Thread Per Forlin
On 17 April 2011 17:46, Shawn Guo wrote: > On Wed, Apr 06, 2011 at 09:07:04PM +0200, Per Forlin wrote: > [...] >> +static int mmc_test_rw_multiple(struct mmc_test_card *test, >> +                             struct mmc_test_multiple_rw *tdata, >> +                             unsigned int reqsize,

Re: [PATCH v2 03/12] mmc: mmc_test: add test for none blocking transfers

2011-04-20 Thread Per Forlin
On 17 April 2011 09:09, Lin Tony-B19295 wrote: > Hi Per > >        Just have a glance of your patch, good thinking. But I have a question > about this patch. You modified mmc_test to test your driver. Does it mean > your driver's performance enhancement depends on application? I added those test

Re: [PATCH v2 03/12] mmc: mmc_test: add test for none blocking transfers

2011-04-17 Thread Shawn Guo
On Wed, Apr 06, 2011 at 09:07:04PM +0200, Per Forlin wrote: [...] > +static int mmc_test_rw_multiple(struct mmc_test_card *test, > + struct mmc_test_multiple_rw *tdata, > + unsigned int reqsize, unsigned int size) > +{ > + unsigned int dev

RE: [PATCH v2 03/12] mmc: mmc_test: add test for none blocking transfers

2011-04-17 Thread Lin Tony-B19295
lto:linux-arm-kernel-boun...@lists.infradead.org] On Behalf Of Per Forlin Sent: Thursday, April 07, 2011 3:07 AM To: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux-ker...@vger.kernel.org; linaro-dev@lists.linaro.org Cc: Chris Ball; Per Forlin Subject: [PATCH v2 03/12] mmc: mmc_

[PATCH v2 03/12] mmc: mmc_test: add test for none blocking transfers

2011-04-06 Thread Per Forlin
Add four tests for read and write performance per different transfer size, 4k to 4M. * Read using blocking mmc request * Read using none blocking mmc request * Write using blocking mmc request * Write using none blocking mmc request The host dirver must support pre_req() and post_req() in orde