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

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


On 11/29/22 10:53, 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>