Re: [PATCH] scsi: ufs: Factor out ufshcd_read_desc_param

Martin K. Petersen
2017-02-23T00:26:42Z

>>>>> "Michal" == Potomski, MichalX <michalx.potomski@intel.com> writes:

Michal,

Michal> Since in UFS 2.1 specification some of the descriptor lengths
Michal> differs from 2.0 specification and some devices, which are
Michal> reporting spec version 2.0 have different descriptor lengths we
Michal> can not rely on hardcoded values taken from 2.0
Michal> specification. This patch introduces reading these lengths per
Michal> each device from descriptor headers at probe time to ensure
Michal> their correctness.

This doesn't apply to 4.11/scsi-fixes. Please rebase and resend.

Thanks!

--
Martin K. Petersen Oracle Linux Engineering