On Sun, Oct 30 2022 at 04:43 -0700, Avri Altman wrote:
On 10/20/22 11:03, Asutosh Das wrote: > +u32 ufshcd_mcq_decide_queue_depth(struct ufs_hba *hba)
[...]
> + qd = min_t(u32, mac, hba->dev_info.bqueuedepth); > + if (!qd) > + qd = mac;Isn't if mcq is supported bqueuedepth can't be zero? The device must implements the shared queueing architecture.
Ah well, there's a Note mentioned in the UFS 4.0 spec (#7021) which kind of confused me. I will remove this check if it can't be 0. -asd