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

From: Martin K. Petersen
Date: Wed Feb 22 2017 - 19:26:46 EST


>>>>> "Michal" == Potomski, MichalX <michalx.potomski@xxxxxxxxx> 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