Re: [PATCH v8 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-07-26 Thread Arnd Bergmann
On Wednesday 25 July 2012, Yaniv Gardi wrote: > This feature delete the unmap memory region of the eMMC card, > by writing to a specific register in the EXT_CSD > unmap region is the memory region that were previously deleted > (by erase, trim or discard operation) > > Signed-off-by: Yaniv Gardi

Re: [PATCH v8 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-07-26 Thread Arnd Bergmann
On Wednesday 25 July 2012, Yaniv Gardi wrote: This feature delete the unmap memory region of the eMMC card, by writing to a specific register in the EXT_CSD unmap region is the memory region that were previously deleted (by erase, trim or discard operation) Signed-off-by: Yaniv Gardi

Re: [PATCH v8 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-07-25 Thread merez
On Wed, July 25, 2012 2:32 am, Yaniv Gardi wrote: > @@ -238,6 +238,7 @@ struct mmc_host { > #define MMC_CAP2_BROKEN_VOLTAGE (1 << 7)/* Use the broken > voltage */ > #define MMC_CAP2_DETECT_ON_ERR (1 << 8)/* On I/O err check > card removal > */ > #define

[PATCH v8 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-07-25 Thread Yaniv Gardi
This feature delete the unmap memory region of the eMMC card, by writing to a specific register in the EXT_CSD unmap region is the memory region that were previously deleted (by erase, trim or discard operation) Signed-off-by: Yaniv Gardi --- drivers/mmc/card/block.c | 72

[PATCH v8 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-07-25 Thread Yaniv Gardi
This feature delete the unmap memory region of the eMMC card, by writing to a specific register in the EXT_CSD unmap region is the memory region that were previously deleted (by erase, trim or discard operation) Signed-off-by: Yaniv Gardi yga...@codeaurora.org --- drivers/mmc/card/block.c |

Re: [PATCH v8 2/2] mmc: card: Adding support for sanitize in eMMC 4.5

2012-07-25 Thread merez
On Wed, July 25, 2012 2:32 am, Yaniv Gardi wrote: @@ -238,6 +238,7 @@ struct mmc_host { #define MMC_CAP2_BROKEN_VOLTAGE (1 7)/* Use the broken voltage */ #define MMC_CAP2_DETECT_ON_ERR (1 8)/* On I/O err check card removal */ #define MMC_CAP2_HC_ERASE_SZ