On 8/17/23 14:47, Bao D. Nguyen wrote:
During initialization, ufshcd_auto_hibern8_update() is not called. Therefore, you may have SDB mode with auto hibernate enabled -> preserves_write_order = false, [ ... ]
Hi Bao, ufshcd_slave_configure() is called before any SCSI commands are submitted to a logical unit. ufshcd_slave_configure() sets 'preserves_write_order' depending on the value of hba->ahit. Does this answer your question? Thanks, Bart.