Re: [PATCH] nvme: Enable FUA

2021-09-27 Thread Jon Lin
On 2021/9/27 20:28, Stefan Agner wrote: On 2021-09-26 11:12, 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. Ma

Re: [PATCH] nvme: Enable FUA

2021-09-27 Thread Stefan Agner
On 2021-09-26 11:12, 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. Maybe worth mentioning that FUA stands

[PATCH] nvme: Enable FUA

2021-09-26 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 --- drivers/nvme/nvme.c | 3 +++ 1 file changed, 3 insert