[PATCH v3 1/2] nvme: Enable FUA

Jon Lin jon.lin at rock-chips.com
Mon Nov 22 02:41:45 CET 2021


On 2021/11/19 9:14, Tom Rini wrote:
> On Fri, Nov 19, 2021 at 08:56:08AM +0800, Bin Meng wrote:
>> Hi Tom,
>>
>> On Fri, Nov 19, 2021 at 3:14 AM Tom Rini <trini at konsulko.com> wrote:
>>> On Tue, Oct 19, 2021 at 10:40:53AM +0800, Jon Lin wrote:
>>>
>>>> Most NVME devcies maintain data in internal cache for an uncertain
>>>> times, and u-boot has no method to force NVME to flush cache.
>>>> So this patch adds FUA to avoid data loss caused by power off after data
>>>> programming.
>>>>
>>>> Signed-off-by: Jon Lin <jon.lin at rock-chips.com>
>>>> Reviewed-by: Stefan Agner <stefan at agner.ch>
>>> Applied to u-boot/next, thanks!
>> I don't see my review comment being addressed. Please drop the patch
>> until all things are clear.
> Missed your comments, sorry.
Thanks to bin Meng and Tom. I'm not familiar with nvme protocol. I 
expect people with nvme
experience to take over the patch and do the most reasonable treatment. 
Of course, I'll take
some time to seriously ponder the nvme process to see if it can meet 
your requirements




More information about the U-Boot mailing list