Re: [PATCH v9 2/3] mmc: core: add random fault injection

From: Linus Walleij
Date: Fri Aug 19 2011 - 10:19:08 EST


2011/8/19 Per Forlin <per.forlin@xxxxxxxxxxxxxx>:

> From: Per Forlin <per.forlin@xxxxxxxxxx>
>
> This adds support to inject data errors after a completed host transfer.
> The mmc core will return error even though the host transfer is successful.
> This simple fault injection proved to be very useful to test the
> non-blocking error handling in the mmc_blk_issue_rw_rq().
> Random faults can also test how the host driver handles pre_req()
> and post_req() in case of errors.
>
> Signed-off-by: Per Forlin <per.forlin@xxxxxxxxxx>
> Acked-by: Akinobu Mita <akinobu.mita@xxxxxxxxx>

OK!

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
For the MMC portions in 2/3.

Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/