Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp15357234rwb; Mon, 28 Nov 2022 10:35:14 -0800 (PST) X-Google-Smtp-Source: AA0mqf5xp7Yab9QYXZsNWAnc46Ok4IGzMuexJMfYO9VCPxlA9+E3nfIqXmtNf/2aBOCULYGZuPmA X-Received: by 2002:a17:902:ce86:b0:189:48b0:807 with SMTP id f6-20020a170902ce8600b0018948b00807mr26436531plg.81.1669660514320; Mon, 28 Nov 2022 10:35:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669660514; cv=none; d=google.com; s=arc-20160816; b=Gays1M7XsUBqHfKSmEPBvJyZp2NGdFLDZuggdZGngsHYlaOZAf7ntuyoDMLkx5zEs2 TaporKEBuxGBbORuC9KiTVmqswerHw2JF45GAsc+vInD7gmLkdpqOE0I3S1rd5Pb2RzZ /VS8sYUD9YwRQFMlX87qkToSHftQW7Nw3h+/VhXnr8PiWddS7pes2kT79Q5Ey+Gx4/kS 5+XoHdYRY7Ky9dnE9Sb5Oe7pIsOKeolA6Hp4nArVbpWHQlHliA/IcsDVhb5qmR/leEYi PyQJzUW+1BJSPlVneuFqTpH7N1I3s/XSKu1P6aVKQmqBCcWEz7fnU83+vmiGdssVzP+L bckg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=CadsEG0q9KIeXpKiPUwPfa3n7odeNEMPY1wpvA775xc=; b=YixyAKkxtO8rdaWU+ECzwbliEHjA736oAuIvC6MNFA8106WTtfvsWvxKpXOZ7Lfucv apKZS4nNZ7+c3hqJEQjZq1/dsmOF9Ang5TI85Hk8srQDUrZ9/60GVJFffRiDzVjKFT4s mAbnry83VJiufYOJR0NSJj8hdhVvIsZDX9Q278CFVgfKFRrWLuHo1sgPMqZ8fng/NhO1 Ya9hcKphNoV6lN/f2rAP3pDtJFXvcHDR6+CzNlknxnl7bKyewGm6EaxTH7mXuKIXfe4k ydPgRczTJXy3iDUEUd01p2n//6aQgRgE6m9XlCUywyiTfXfK+nBIsmtmmB7reBGff0SD x8oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="xrz/txrE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c133-20020a624e8b000000b0056bae3f63b5si11641398pfb.327.2022.11.28.10.35.02; Mon, 28 Nov 2022 10:35:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="xrz/txrE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234032AbiK1SHN (ORCPT + 85 others); Mon, 28 Nov 2022 13:07:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234027AbiK1SGw (ORCPT ); Mon, 28 Nov 2022 13:06:52 -0500 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CE9056EFA; Mon, 28 Nov 2022 09:51:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1669657910; x=1701193910; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=CadsEG0q9KIeXpKiPUwPfa3n7odeNEMPY1wpvA775xc=; b=xrz/txrE+JD16ONRVaLToihVvi+ugyfle9P9uWPqE5Q0KeUpSn/SyE7h oEzCesaRqwy16gboCTF57CW5/GuF3z8qojTKSoH5uFOlU8tbI+VrAyRnR fabr7fbbUUB8j5/oYU4ylbdosZ2OjXBmsmAKZx63lxdAvzKzjrENgNimu I=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-02.qualcomm.com with ESMTP; 28 Nov 2022 09:51:00 -0800 X-QCInternal: smtphost Received: from unknown (HELO nasanex01a.na.qualcomm.com) ([10.52.223.231]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2022 09:51:00 -0800 Received: from asutoshd-linux1.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Mon, 28 Nov 2022 09:50:59 -0800 Date: Mon, 28 Nov 2022 09:50:59 -0800 From: Asutosh Das To: Manivannan Sadhasivam CC: , , , , , , , , , , , , Alim Akhtar , "James E.J. Bottomley" , Jinyoung Choi , open list Subject: Re: [PATCH v5 04/16] ufs: core: Defer adding host to scsi if mcq is supported Message-ID: <20221128175059.GC20677@asutoshd-linux1.qualcomm.com> References: <20221128144222.GD62721@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221128144222.GD62721@thinkpad> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >-- >மணிவண்ணன் சதாசிவம்