Re: [PATCH] ufs: core: Disable auto h8 before ssu

From: Bean Huo
Date: Fri Oct 14 2022 - 01:48:47 EST


On Fri, 2022-10-14 at 10:44 +0800, 高严凯 wrote:
> " UFSHCI has idle time before bringing Link into hibern8 mode, " I
> think  ufs put the link to h8 during the time


no, it is ufs controller. see the ufshci spec:

"Auto-Hibern8 Idle Timer Value (AH8ITV): This is the timer that UFS
subsystem must be idle before UFS host *controller* may put UniPro link
into Hibernate state autonomously. The idle timer value is multiplied
by the indicated timer scale to yield an absolute timer value. ....

...
Any non-zero value will enable Auto-Hibernate idle timer.
UFS host controller shall put Unipro link out of Hibernate state when
the link communication is required. The mechanism to decide when the
Unipro link needs to become active is host controller specific
implementation, and is transparent to the software."