Re: [ 064/218] mmc: card: Skip secure erase on MoviNAND; causesunrecoverable corruption.

From: Ben Hutchings
Date: Fri Sep 28 2012 - 20:14:14 EST


On Fri, 2012-09-28 at 13:14 -0700, Greg Kroah-Hartman wrote:
> 3.4-stable review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: Ian Chen <ian.cy.chen@xxxxxxxxxxx>
>
> commit 3550ccdb9d8d350e526b809bf3dd92b550a74fe1 upstream.
>
> For several MoviNAND eMMC parts, there are known issues with secure
> erase and secure trim. For these specific MoviNAND devices, we skip
> these operations.
>
> Specifically, there is a bug in the eMMC firmware that causes
> unrecoverable corruption when the MMC is erased with MMC_CAP_ERASE
> enabled.
>
> References:
>
> http://forum.xda-developers.com/showthread.php?t=1644364
> https://plus.google.com/111398485184813224730/posts/21pTYfTsCkB#111398485184813224730/posts/21pTYfTsCkB
>
> Signed-off-by: Ian Chen <ian.cy.chen@xxxxxxxxxxx>
> Reviewed-by: Namjae Jeon <linkinjeon@xxxxxxxxx>
> Acked-by: Jaehoon Chung <jh80.chung@xxxxxxxxxxx>
> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> Signed-off-by: Chris Ball <cjb@xxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
[...]

I think you owe Greg a backport of this to 3.0.

Ben.

--
Ben Hutchings
Usenet is essentially a HUGE group of people passing notes in class.
- Rachel Kadel, `A Quick Guide to Newsgroup Etiquette'

Attachment: signature.asc
Description: This is a digitally signed message part