Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp618482iog; Fri, 24 Jun 2022 10:19:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1upAscCr6cgadh7oC9H7y7LpKWdoc1sE2cm1i4WQPQR4C5fHcfC2hvmYF1WjnhhmqF/6t2u X-Received: by 2002:a17:90b:1b42:b0:1ec:c483:3eb7 with SMTP id nv2-20020a17090b1b4200b001ecc4833eb7mr5343024pjb.52.1656091160030; Fri, 24 Jun 2022 10:19:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656091160; cv=none; d=google.com; s=arc-20160816; b=cZvDcdhSf4v9BmrjAO6BEfvfc8r8MPylF/mtUDBtX5th30W6mUoHE4hm9wN/pYF9Db P0zubyx4/YnlMQlz2b09aMk8Hr5yAG/I+wPvBKe6vJbA9StaU8qEHlQEGNg0RUXb0gv6 kI/VzOTyJNF0l3kZYTyzH+gkyLEZWKrde9iNNdar+/9mrYbPpFZMayfdfwxkdehsBGRk hBZ0uvVHkksMMof3OmeVFseD3hR8KlVvoQBdVxY00MCKfh739c/Zb2V1hZuJd6R6cVjV GjdF7AaF2WPZe9S9uaIsDX+rn1yXF7CPLH5dXp3qpbaJJ95orbAqfHvtD52lBXWEaFxy C2gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=MqdDXvaIkmWuIJPThNmj+He+ILwPbZjHzawEbC7i4U8=; b=mvEL54/BZSvhxM2/Y1mJ38juWFXAoFJB4IeYqvVb2xWZHQt6TxpeDy1nq94neK2fC/ K+TBPzs5lhU3pNDqDn5o7Tj7mur8pM3PUTEKA1gOwGIsMD4ya3kZS2c/b+YuHnkPLyc0 SPEQ0kGeVMzNFRr6WlNhFVa2T8ytVlfYhEP1IfWp72OihWrjK6KQajCJ9kcYNJWGLX/Y sQyCFAwHiK7cQkkpScIGDttvuCiq108ooLQ9NaCzOYCrK/tRNsb0/OYmz2msgZRPszC+ vy+irR9H+/uxncHV97jxGps/kKFaYNUNiWyX+X7bHP+yg8KswvcSJPUmujocVx2S9deq mx6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="LKky/z/o"; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e6-20020a170902ef4600b0015d17ba5b65si4408010plx.22.2022.06.24.10.18.44; Fri, 24 Jun 2022 10:19:20 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b="LKky/z/o"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231330AbiFXRFL (ORCPT + 99 others); Fri, 24 Jun 2022 13:05:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231296AbiFXRFG (ORCPT ); Fri, 24 Jun 2022 13:05:06 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 619CE47AFA; Fri, 24 Jun 2022 10:05:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 240EDB82AC9; Fri, 24 Jun 2022 17:05:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83B3CC34114; Fri, 24 Jun 2022 17:05:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656090302; bh=MbqX8rKgD+Ws/WHFx5LKN0sbE4l2+titdRU45JIB7ME=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=LKky/z/orpGdVk9UNRtxOSKtSy4JQiRybsBGVb0bAyENo0LA3H7zkwXdQqwWRJ7uz SRzBDrZ9So21+zGjg5/NaNG5CVnUdEWaowijEP4h+JTcBzPpl2rRKI8S1E8z913tm3 utomWpEEERtFwteoKZ2XCMd3SiV8w658mpu7sw30DWnKkYRHDL1gImdDeeI2OgZBts RoGgeTdhpDKUQ8QcqJLT3I94EwyuSZ5QRpKkzhJuACevX8xIesqAiTIQahDP4KOW6p f3B1/iCrUlW/onaZNCeKtIpJIqksHj0oMtMdJxac0+khaVNEuSsNMK+D5oaXeHIiR/ wi/bxm13Opcpg== Date: Fri, 24 Jun 2022 12:05:01 -0500 From: Bjorn Helgaas To: Krishna chaitanya chundru Cc: linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, quic_vbadigan@quicinc.com, quic_hemantk@quicinc.com, quic_nitegupt@quicinc.com, quic_skananth@quicinc.com, quic_ramkri@quicinc.com, manivannan.sadhasivam@linaro.org, swboyd@chromium.org, dmitry.baryshkov@linaro.org, Andy Gross , Bjorn Andersson , Stanimir Varbanov , Lorenzo Pieralisi , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , Prasad Malisetty Subject: Re: [PATCH v1 1/3] PCI: qcom: Add missing sc7280 clocks in PCIe driver Message-ID: <20220624170501.GA1541553@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1656062391-14567-2-git-send-email-quic_krichai@quicinc.com> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 [+cc Prasad, who added sc7280] On Fri, Jun 24, 2022 at 02:49:49PM +0530, Krishna chaitanya chundru wrote: > Add missing clocks in the pcie driver. s/pcie/PCIe/ as in subject. Also, please mention the names of the clocks here, too. Does this add new functionality, or did sc7280 just never work in the first place? If this fixes a problem, it's nice to mention the user-visible symptom in the commit log to make it easier to connect this fix with the problem. Looks like sc7280 was added by Prasad with b89ff410253d ("PCI: qcom: Replace ops with struct pcie_cfg in pcie match data"), and I assume it was tested at that time. If I had noticed, I would have asked that b89ff410253d be a strict conversion to struct qcom_pcie_cfg with no functional changes, with sc7280 support being added in a separate patch by itself. > Signed-off-by: Krishna chaitanya chundru > --- > drivers/pci/controller/dwc/pcie-qcom.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c > index 2ea1375..a7202f0 100644 > --- a/drivers/pci/controller/dwc/pcie-qcom.c > +++ b/drivers/pci/controller/dwc/pcie-qcom.c > @@ -1548,7 +1548,10 @@ static const struct qcom_pcie_cfg sm8450_pcie1_cfg = { > static const struct qcom_pcie_cfg sc7280_cfg = { > .ops = &ops_1_9_0, > .has_tbu_clk = true, > + .has_ddrss_sf_tbu_clk = true, > .pipe_clk_need_muxing = true, > + .has_aggre0_clk = true, > + .has_aggre1_clk = true, > }; > > static const struct qcom_pcie_cfg sc8180x_cfg = { > -- > 2.7.4 >