Dear Mr. Jeon, This is workaround for some Samsung eMMC, MoviNAND. There are known issue about secure erase & secure trim with these eMMC device which I listed by product_name. Therefore, for these eMMC devices, we just skip mmc_blk_issue_secdiscard_rq() and use mmc_blk_issue_discard_rq() instead.
You could refer this discussion in XDA developers. http://forum.xda-developers.com/showthread.php?t=1644364 https://plus.google.com/111398485184813224730/posts/21pTYfTsCkB#111398485184813224730/posts/21pTYfTsCkB Regards, Ian -----Original Message----- From: Namjae Jeon [mailto:linkinj...@gmail.com] Sent: Monday, August 13, 2012 10:03 PM To: IAN CHEN Cc: c...@laptop.org; adrian.hun...@intel.com; subha...@codeaurora.org; linus.wall...@linaro.org; linux-mmc@vger.kernel.org; linux-ker...@vger.kernel.org; d.j.s...@samsung.com; jongtae22....@samsung.com; kyungmin.p...@samsung.com; jh80.ch...@samsung.com Subject: Re: [PATCH] mmc: card: Skip secure option for MoviNAND. Hi. Ian. known issue ? Would you explain more ? Thanks. 2012/8/13 IAN CHEN <ian.cy.c...@samsung.com>: > From 5c60eb8be04c7440d6e33b8f72ea2046a3657ac4 Mon Sep 17 00:00:00 2001 > From: ian.cy.chen <ian.cy.c...@samsung.com> > Date: Mon, 13 Aug 2012 10:53:55 +0900 > Subject: [PATCH] mmc: card: Skip secure option for MoviNAND. > > For several MoviNAND, there are some known issue with secure option. > For these specific MoviNAND device, we skip secure option. > > Signed-off-by: Ian Chen <ian.cy.c...@samsung.com> > --- > drivers/mmc/card/block.c | 24 +++++++++++++++++++++++- > include/linux/mmc/card.h | 1 + > 2 files changed, 24 insertions(+), 1 deletions(-) > -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html