Re: [PATCH v2] mmc: support BKOPS feature for eMMC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>
>>> First of all protocol state:
>>> ------------------------------
>>> 7.4.57 BKOPS_EN [163]
>>> This field allows the _host_ to indicate to the device if it is
>>> expected
>>> to periodically manually start background operations by writing to the
>>> BKOPS_START field.
>>>
>>> ...In order for the device to know if host is going to periodically
>>> start
>>> background operations, host shall set bit 0 of BKOPS_EN (EXT_CSD byte
>>> [163]) to indicate that it is going to write to BKOPS_START
>>> periodically.
>>> The device may then delay some of its maintenance operations to when
>>> host
>>> writes to BKOPS_START.
>>> ------------------------------
>>>
>>> My card supports BKOPS (by reading Bit 0 of BKOPS_SUPPORT (EXT_CSD byte
>>> [502]), but BKOPS_EN[163] is not set. So I suppose, original code to
>>> set
>>> BKOPS_EN[163] is needed, otherwise card will never delay its
>>> maintenance
>>> operations.
>>
>>
>> Ok...i will add the code for setting BKOPS_EN bit in patch-v4.
> I hope this features are provided from platform data. since it's not
> mandatory for all devices
This feature is mandatory for eMMC v4.5, but it may be enabled only when
card supports BKOPS_SUPPORT[502] is set (and this one depend on device)
Thanks,
Kostya

--
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


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux