Thread (10 messages) 10 messages, 5 authors, 2019-11-28

RE: [PATCH RESEND 2/2] scsi: ufs: Update L4 attributes on manual hibern8 exit in Cadence UFS.

From: Avri Altman <Avri.Altman@wdc.com>
Date: 2019-11-27 15:18:43
Also in: linux-scsi, lkml

 
quoted

On 20/11/19 9:50 PM, Alim Akhtar wrote:
quoted
Hi Sheebab

On Tue, Nov 19, 2019 at 12:38 PM sheebab [off-list ref]
wrote:
quoted
quoted
quoted
Backup L4 attributes duirng manual hibern8 entry and restore the L4
attributes on manual hibern8 exit as per JESD220C.
Can you point me to the relevant section on the spec?
Per JESD 220C 9.4 UniPro/UFS Control Interface (Control Plane):

"NOTE After exit from Hibernate all UniPro Transport Layer attributes
(including
L4 T_PeerDeviceID,

L4 T_PeerCPortID, L4 T_ConnectionState, etc.) will be reset to their reset
values.
quoted
All required attributes

must be restored properly on both ends before communication can resume."

But its not clear whether SW needs to restore these attributes or
hardware
Thanks Vignesh for pointing out the spec section, yes it is not clear, one way to
confirm this is just by read L4 attributes before And after hinern8 entry/exit.
(at least in the current platform it is not being done) AFA this patch is concerns,
this looks ok to me.
@ Avri , any thought on this?
Yes, it looks fine.

Thanks,
Avri

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help