Skip to contentSkip to conversation

sanitize for eMMC v4.5

DISCUSSION [email protected] 2 participants 2 messages Nov 23, 2011 – Nov 24, 2011 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

sorry for sending it again...(changed the mailing-list)

hello,

i have a few questions regarding the sanitize capability that was added in v4.5.

1. how often this operation should take place ?
a. any advantages to perform sanitize in power-up, power-down, or every
X hours when the card in idle ?

2. how this operation should be triggered?
is it external adb command, or is part of the driver operation ?

3. does anyone have a speculated time duration for that operation according to a card size / vendor ?

thanks,
Yaniv

#1 lore raw

Hi,

Quoted 10 lines · On 11/23/11, [email protected] <[email protected]> wrote:

sorry for sending it again...(changed the mailing-list)

hello,

i have a few questions regarding the sanitize capability that was added in v4.5.

1. how often this operation should take place ?
a. any advantages to perform sanitize in power-up, power-down, or every
X hours when the card in idle ?

It's not normally used at runtime. in our case, it's used at factory reset only

Quoted 3 lines

2. how this operation should be triggered?
is it external adb command, or is part of the driver operation ?

it can trigger at block with BLKSECDISCARD

Quoted 3 lines

3. does anyone have a speculated time duration for that operation according to a card size / vendor ?

there's no timeout value at eMMC v4.5 spec. it takes long time depends on chip status. the only way to stop is using HPI.
If you start the sanitize and there's user request then it call the HPI. and it's not yet implemented at mmc code.

Thank you,
Kyungmin Park

Quoted 13 lines

thanks,
Yaniv

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html