Re: mmc_test: fix performance tests that go over max_blk_count

Chris Ball
2010-09-10T20:40:02Z

Hi Adrian,

On Fri, Sep 10, 2010 at 11:33:45AM +0300, Adrian Hunter wrote:
> From: Adrian Hunter <adrian.hunter@nokia.com>
> Date: Mon, 6 Sep 2010 12:54:06 +0300
> Subject: [PATCH] mmc_test: fix performance tests that go over max_blk_count
>
> The host controller driver limits I/O transfers to maximum
> transfer size, maximum block count, maximum segment size
> and maximum segment count. The performance tests were
> not obeying these limits which meant they would not work
> with some drivers. This patch fixes that.
>
> Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>

Thanks, applied to mmc-next.

My test machine (Dell m6300, Sandisk Extreme III 4GB) no longer BUG()s,
but it's still failing all of the transfer tests:

mmc0: Test case 22. Multi-block highmem read...
mmc0: Result: OK
mmc0: Test case 23. Best-case read performance...
mmc0: Result: Prepare stage failed! (-12)
mmc0: Test case 24. Best-case write performance...
mmc0: Result: Prepare stage failed! (-12)
mmc0: Test case 25. Best-case read performance into scattered pages...
mmc0: Result: Prepare stage failed! (-12)