Re: [PATCH v7 07/16] ufs: core: mcq: Calculate queue depth

From: Bart Van Assche
Date: Tue Nov 29 2022 - 14:26:37 EST


On 11/29/22 10:53, Asutosh Das wrote:
The ufs device defines the supported queuedepth by
bqueuedepth which has a max value of 256.
The HC defines MAC (Max Active Commands) that define
the max number of commands that in flight to the ufs
device.
Calculate and configure the nutrs based on both these
values.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>