Re: [RESEND PATCH v10] mmc: support BKOPS feature for eMMC |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [RESEND PATCH v10] mmc: support BKOPS feature for eMMC
- From: Adrian Hunter <adrian.hunter@xxxxxxxxx>
- Date: Fri, 20 Jul 2012 15:57:04 +0300
- Cc: Jaehoon Chung <jh80.chung@xxxxxxxxxxx>, linux-mmc <linux-mmc@xxxxxxxxxxxxxxx>, Chris Ball <cjb@xxxxxxxxxx>, Kyungmin Park <kyungmin.park@xxxxxxxxxxx>, Konstantin Dorfman <kdorfman@xxxxxxxxxxxxxx>, "svenkatr@xxxxxx" <svenkatr@xxxxxx>, Saugata Das <saugata.das@xxxxxxxxxx>, Ulf Hansson <ulf.hansson@xxxxxxxxxxxxxx>, Per FORLIN <per.forlin@xxxxxxxxxxxxxx>, Hanumath Prasad <hanumath.prasad@xxxxxxxxxxxxxx>, Sebastian Rasmussen <sebras@xxxxxxxxx>, "Dong, Chuanxiao" <chuanxiao.dong@xxxxxxxxx>
- In-reply-to: <0af2721026286ee4d196ead20848664e.squirrel@www.codeaurora.org>
- Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki
- References: <500823C5.4010503@samsung.com> <0af2721026286ee4d196ead20848664e.squirrel@www.codeaurora.org>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
On 20/07/12 14:58, merez@xxxxxxxxxxxxxx wrote:
>
> On Thu, July 19, 2012 8:12 am, Jaehoon Chung wrote:
>> +void mmc_start_bkops(struct mmc_card *card, bool from_exception)
>> +{
>> + int err;
>> + int timeout;
>> + bool use_busy_signal;
>> +
>> + BUG_ON(!card);
>> +
>> + if (!card->ext_csd.bkops_en || mmc_card_doing_bkops(card) ||
>> + !(card->host->caps2 & MMC_CAP2_BKOPS))
>> + return;
> To my opinion, the host cannot decide not to support BKOPs if it is
> enabled by the card. In such a case, the card will expect the host to
> start the BKOPs and may get into performance degradation.
> I think the MMC_CAP2_BKOPS should be removed.
> Does everyone agree or do I miss something?
I agree. The spec says of bkops_en "Host is indicating that it shall
periodically write to BKOPS_START field to manually start
background operations."
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Devel]
[Linux Media]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]