Re: [PATCH v3 1/2] nvme: Enable FUA

2021-11-21 Thread Jon Lin
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 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-bo

Re: [PATCH v3 1/2] nvme: Enable FUA

2021-11-18 Thread Tom Rini
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 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 meth

Re: [PATCH v3 1/2] nvme: Enable FUA

2021-11-18 Thread Bin Meng
Hi Tom, On Fri, Nov 19, 2021 at 3:14 AM Tom Rini 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

Re: [PATCH v3 1/2] nvme: Enable FUA

2021-11-18 Thread Tom Rini
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

Re: [PATCH v3 1/2] nvme: Enable FUA

2021-10-27 Thread Bin Meng
Hi Jon, On Tue, Oct 19, 2021 at 10:41 AM 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-b

[PATCH v3 1/2] nvme: Enable FUA

2021-10-18 Thread Jon Lin
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 Reviewed-by: Stefan Agner --- Changes in v3: Only enabl