Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp11501558rwb; Fri, 25 Nov 2022 16:53:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf6b1GSp88Ky4vzxcBh0Wmc8xrXbilAZoYwxFey/EwsbGuu4FAkO1SS3FFuHUQrOdDV4aL/K X-Received: by 2002:a17:903:1245:b0:187:3921:2b2d with SMTP id u5-20020a170903124500b0018739212b2dmr21892200plh.13.1669423991784; Fri, 25 Nov 2022 16:53:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669423991; cv=none; d=google.com; s=arc-20160816; b=cfZ+II2vbFZ3Nw1cTEJM7P+10isGRYHbUmOjPYEF0nB2ZLkrY+PQLAkVfc/kDB+B43 H8157AIlqS6NqWKwH5/FA75sV/4jIzUIIfqLhOob+L+jN7i73hbeCqs2BtakWCuFtXN7 Dpa0c75d5F4wNsz52QIC+EdLCHRXB3ezJhVDZSTxYvUYXKtknx5Uv2Vlh0VMa1iv8IaT sOF+mFol5RVDcjGa+W2vsebMpyxgUYVCquDpXkVN8W+yUfGWiKSxx06j9i02ZFGGRXd7 52uX9TPwJKB9EUjotlQeADr7klDxc3Z9q42YhITnLlnVXMOTG7CPeOUy+6CXwPGXSi1Q /Faw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=02B0A+9dfd/6K+TKW176rF7H0il+WmJb1ZFVmjxqaYk=; b=WCRs4s98KIz8uEaCZNBCw65K+EaWykb66HcqxPl0juzwB+rAfWHMRyE8QKbvDbcRim Kfo6JfL154SiS8ZLIHz7sywDW0R38+9tJpH0C6LGbaRaThVCJj5mEr7+SvAxVoy6eRDx CDxurYd0GRXUtqIg9YkZk3BwPY92L2gNnLSCsKlQ0AHnZbVjrDbddjyvz2vEvHVv/SgM 5Q4lqLVbOZx6VCkZAB/w3C6/6tIIbEw7Ay+2rY3buEAHiFVvSAbhfdSKr+I3NV9aX/IU LTT2Vzu+3B3/JcLkK38LqeeOp8HwpjEHX0yoaOoVP7nmwMqagnY47K0Ug3PkC6LShWPz FvQA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f6-20020a17090a9b0600b0020a47a4c951si4951985pjp.147.2022.11.25.16.53.01; Fri, 25 Nov 2022 16:53:11 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230169AbiKZA2h (ORCPT + 85 others); Fri, 25 Nov 2022 19:28:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229767AbiKZA2f (ORCPT ); Fri, 25 Nov 2022 19:28:35 -0500 Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F76B23BF7; Fri, 25 Nov 2022 16:28:34 -0800 (PST) Received: by mail-pg1-f180.google.com with SMTP id q71so5095882pgq.8; Fri, 25 Nov 2022 16:28:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=02B0A+9dfd/6K+TKW176rF7H0il+WmJb1ZFVmjxqaYk=; b=1r6h31MRBElGM7o8XzV4vhPiupZUYFlrpuk8y8z6GKqY4zsCj1lULDJ32JkzjoEH03 JgcCviE265CZXlXFjrK3OzDOYI38PQEfzzx2wV74mumE/DfUotrMGLrwH/4GKMc3uUhN 9IvHNuexhQ9tDEgi9H/czQIdwZpEx1Fm+P4/bB2HC4unuZMhk0M3DCSMACifadQU4UW/ QbBFJsRYxlNY9P+0DU1tuki5RAipWMo7sLLUg7FpkJPWus7mxYRWEiKPxgytMfgZzgU9 Y7AmL3g4QcuZ+mku3LRgDhdtfCGUpCkyrDL0MLXDh7mMMmD3GuYwK+vmQaHBrGd5WGEJ We3w== X-Gm-Message-State: ANoB5pkSKd0Q6E7qhr6R6U4tOgJ+sEkC9X4ZnBetsBHwWrEQc+c9U+en q7QA3PI6bXBaz1lfidyKupc= X-Received: by 2002:aa7:9097:0:b0:56c:674a:16f0 with SMTP id i23-20020aa79097000000b0056c674a16f0mr24417247pfa.10.1669422513603; Fri, 25 Nov 2022 16:28:33 -0800 (PST) Received: from [192.168.3.219] ([98.51.102.78]) by smtp.gmail.com with ESMTPSA id b10-20020a1709027e0a00b001886ff822ffsm3946351plm.186.2022.11.25.16.28.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Nov 2022 16:28:32 -0800 (PST) Message-ID: <9c9ce51e-2298-5417-8242-090ab7a626d2@acm.org> Date: Fri, 25 Nov 2022 16:28:30 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v5 04/16] ufs: core: Defer adding host to scsi if mcq is supported Content-Language: en-US To: Asutosh Das , quic_cang@quicinc.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org Cc: quic_nguyenb@quicinc.com, quic_xiaosenh@quicinc.com, stanley.chu@mediatek.com, eddie.huang@mediatek.com, daejun7.park@samsung.com, avri.altman@wdc.com, mani@kernel.org, beanhuo@micron.com, linux-arm-msm@vger.kernel.org, Alim Akhtar , "James E.J. Bottomley" , Jinyoung Choi , open list References: From: Bart Van Assche In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no 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 11/22/22 20:10, 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. Reviewed-by: Bart Van Assche