[PATCH] scsi: ufs: Factor out ufshcd_read_desc_param

2017-02-20 Thread Potomski, MichalX
Since in UFS 2.1 specification some of the descriptor lengths differs from 2.0 specification and some devices, which are reporting spec version 2.0 have different descriptor lengths we can not rely on hardcoded values taken from 2.0 specification. This patch introduces reading these lengths per eac

[PATCH v2] scsi: ufs: Factor out ufshcd_read_desc_param

2017-02-23 Thread Potomski, MichalX
Since in UFS 2.1 specification some of the descriptor lengths differs from 2.0 specification and some devices, which are reporting spec version 2.0 have different descriptor lengths we can not rely on hardcoded values taken from 2.0 specification. This patch introduces reading these lengths per eac

RE: [PATCH v2] scsi: ufs: Implement Auto-Hibern8 setup

2017-07-25 Thread Potomski, MichalX
> On Tue, 2017-07-25 at 11:45 +0200, Michal Potomski wrote: > > Since Auto-Hibern8 feature has to be enabled by the user > > proper API has been given via SysFS. > > > > We expose this API to user-space, since we don't know > > in driver, what kind of additional Power Management rules > > user want

RE: [PATCH v2] scsi: ufs: Implement Auto-Hibern8 setup

2017-07-27 Thread Potomski, MichalX
> On Tue, 2017-07-25 at 16:54 +0000, Potomski, MichalX wrote: > > On Tue, 2017-07-25 at 15:30 +, Bart Van Assche wrote: > > > Since I'm not familiar with the Auto-Hibern8 feature: what impact > > > does it have on command processing? Does it e.g. cause SCSI or

RE: [PATCH] scsi: ufs: Fix Runtime PM

2017-11-22 Thread Potomski, MichalX
On 2017-11-21 20:45, Subhash Jadavani wrote: > On 2017-11-13 01:14, Michal Potomski wrote: > > From: MichaƂ Potomski > > > > Recent testing of Runtime PM for UFS has shown it's not working as > > intended. To acheive fully working Runtime PM, first we have to put > > back scsi_device autopm refere