-
由 Asutosh Das 提交于
The UFS device defines the supported queuedepth by bqueuedepth which has a max value of 256. The HC defines MAC (Max Active Commands) that defines the max number of commands that in flight to the UFS device. Calculate and configure the nutrs based on both these values. Co-developed-by: NCan Guo <quic_cang@quicinc.com> Signed-off-by: NCan Guo <quic_cang@quicinc.com> Signed-off-by: NAsutosh Das <quic_asutoshd@quicinc.com> Reviewed-by: NManivannan Sadhasivam <mani@kernel.org> Reviewed-by: NBart Van Assche <bvanassche@acm.org> Reviewed-by: NStanley Chu <stanley.chu@mediatek.com> Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
7224c806