Re: [PATCH v5 04/16] ufs: core: Defer adding host to scsi if mcq is supported

From: Asutosh Das
Date: Mon Nov 28 2022 - 13:07:17 EST


On Mon, Nov 28 2022 at 06:42 -0800, Manivannan Sadhasivam wrote:
On Tue, Nov 22, 2022 at 08:10:17PM -0800, Asutosh Das wrote:
If MCQ support is present, enabling it after MCQ support
has been configured would require reallocating tags and memory.
It would also free up the already allocated memory in
Single Doorbell Mode. So defer invoking scsi_add_host() until
MCQ is configured.

Why cannot we do it for non MCQ case as well?

Hello Mani,
Thanks for taking a look.

I don't think there was any specific reason to defer it for SDB mode.

-asd

--
மணிவண்ணன் சதாசிவம்