[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1301823199-sup-1704@twin.sascha.silbe.org>
Date: Sun, 03 Apr 2011 11:41:41 +0200
From: Sascha Silbe <sascha-ml-reply-to-2011-2@...be.org>
To: Chuanxiao Dong <chuanxiao.dong@...el.com>
Cc: linux-mmc <linux-mmc@...r.kernel.org>, cjb <cjb@...top.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
akpm <akpm@...ux-foundation.org>,
adrian.hunter@...tty.sascha.silbe.org, <adrian.hunter@...ia.com>
Subject: Re: [PATCH v4 2/3]mmc: enable TRIM/ERASE caps for SDHCI host
Excerpts from Chuanxiao Dong's message of Sat Feb 12 07:22:20 +0100 2011:
> SDHCI host controller has TRIM/ERASE capability, enable these caps for erasing
> purpose.
>
> ERASE command needs R1B response. So for such command with busy signal, before
> sending command, SDHCI host driver will simply set a maximum value for timeout
> control register which is safe to use.
>
> Signed-off-by: Chuanxiao Dong <chuanxiao.dong@...el.com>
Tested-By: Sascha Silbe <sascha-pgp@...be.org>
Tested on an OLPC XO-1 using a SanDisk 4GB class 4 card (retail). The
BLKDISCARD ioctl (range 0..card size) returned immediately, no timeout
issue encountered.
Sascha
--
http://sascha.silbe.org/
http://www.infra-silbe.de/
Download attachment "signature.asc" of type "application/pgp-signature" (501 bytes)
Powered by blists - more mailing lists