Re: [PATCH]mmc: core: not to --qty when calculate timeout for SECURE_ERASE

2012-05-21 Thread Adrian Hunter
On 13/04/12 07:19, Chuanxiao Dong wrote: --qty when calculating erase timeout for trim/erase secure trim/erase can prevent the erase range crossing qty+1 erase groups, which made the final timeout value is too large for the host. When operate SECURE_ERASE, driver needs the erase range is

RE: [PATCH]mmc: core: not to --qty when calculate timeout for SECURE_ERASE

2012-05-21 Thread Dong, Chuanxiao
-Original Message- From: Hunter, Adrian Sent: Monday, May 21, 2012 7:06 PM To: Dong, Chuanxiao Cc: linux-mmc@vger.kernel.org; c...@laptop.org Subject: Re: [PATCH]mmc: core: not to --qty when calculate timeout for SECURE_ERASE On 13/04/12 07:19, Chuanxiao Dong wrote: --qty

Re: [PATCH]mmc: core: not to --qty when calculate timeout for SECURE_ERASE

2012-05-21 Thread Adrian Hunter
On 21/05/12 14:19, Dong, Chuanxiao wrote: -Original Message- From: Hunter, Adrian Sent: Monday, May 21, 2012 7:06 PM To: Dong, Chuanxiao Cc: linux-mmc@vger.kernel.org; c...@laptop.org Subject: Re: [PATCH]mmc: core: not to --qty when calculate timeout for SECURE_ERASE On 13/04

[PATCH]mmc: core: not to --qty when calculate timeout for SECURE_ERASE

2012-04-12 Thread Chuanxiao Dong
--qty when calculating erase timeout for trim/erase secure trim/erase can prevent the erase range crossing qty+1 erase groups, which made the final timeout value is too large for the host. When operate SECURE_ERASE, driver needs the erase range is aligned with erase size, otherwise do nothing