Messages in this thread | | | From | Avri Altman <> | Subject | RE: [PATCH v3 2/3] scsi: ufs: Keep device active mode only fWriteBoosterBufferFlushDuringHibernate == 1 | Date | Wed, 9 Dec 2020 07:40:28 +0000 |
| |
> From: Bean Huo <beanhuo@micron.com> > > According to the JEDEC UFS 3.1 Spec, If > fWriteBoosterBufferFlushDuringHibernate > is set to one, the device flushes the WriteBooster Buffer data automatically > whenever the link enters the hibernate (HIBERN8) state. While the flushing > operation is in progress, the device should be kept in Active power mode. > Currently, we set this flag during the UFSHCD probe stage, but we didn't deal > with its programming failure. Even this failure is less likely to occur, but > still it is possible. How about reading it on every ufshcd_wb_need_flush?
Thanks, Avri
| |