Re: [PATCH v5 08/16] ufs: core: mcq: Allocate memory for mcq mode

From: Bart Van Assche
Date: Fri Nov 25 2022 - 20:20:44 EST


On 11/22/22 20:10, Asutosh Das wrote:
To read the bqueuedepth, the device descriptor is fetched
in Single Doorbell Mode. This allocated memory may not be
enough for MCQ mode because the number of tags supported
in MCQ mode may be larger than in SDB mode.
Hence, release the memory allocated in SDB mode and allocate
memory for MCQ mode operation.
Define the ufs hardware queue and Completion Queue Entry.

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