From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23BBFC43334 for ; Thu, 9 Jun 2022 13:22:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243807AbiFINWS (ORCPT ); Thu, 9 Jun 2022 09:22:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235210AbiFINWR (ORCPT ); Thu, 9 Jun 2022 09:22:17 -0400 Received: from mail.tkos.co.il (hours.tkos.co.il [84.110.109.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7285825F5; Thu, 9 Jun 2022 06:22:15 -0700 (PDT) Received: from tarshish (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.tkos.co.il (Postfix) with ESMTPS id 18F7A44051C; Thu, 9 Jun 2022 16:21:59 +0300 (IDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1654780919; bh=4lmVetWEizyXy3Pcuz2UbHUUHYh1KNwujq3JDVAhUY0=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=UJI4vR8Zfb7oVVfnOiz41PthhfILl1KVnFTBLuvNZVn82JWIlUMmB2xlmU4cZXjey 6Bg2yZSDDQXf8zYA1ylkOLtPogQRPqLgwvDuxXzqLJtYiP+tv3ccL9RtcUpWW+RuBU hQZ+stxFV+SKPtvJyG0OQE8SfeXlQkNWjunLIZr8eJAMtwtQ+CFhQfb1Te8e7Vg3kU ILHa/PWNDASm4ao8XmEzi/YPBkj7DPnA/hKAihrzOsX5w0vgdbvIMxvykB94ndTBfA dxwhJph4Pms//iDVJcfmcx5K6j26xFH/DouH8SCHBfLyY17dEJ/w+iD52eQOhCviiw yUWKybm+/HOlQ== References: <20220608202420.GA418223@bhelgaas> User-agent: mu4e 1.6.10; emacs 27.1 From: Baruch Siach To: Bjorn Helgaas Cc: Robert Marko , Lorenzo Pieralisi , Bjorn Andersson , Andy Gross , Selvam Sathappan Periakaruppan , Kathiravan T , Bjorn Helgaas , Rob Herring , Thierry Reding , Jonathan Hunter , Jingoo Han , Gustavo Pimentel , Bryan O'Donoghue , linux-pci@vger.kernel.org, linux-arm-msm , Linux ARM , linux-tegra@vger.kernel.org, Stanimir Varbanov Subject: Re: [PATCH v6 0/3] PCI: IPQ6018 platform support Date: Thu, 09 Jun 2022 16:10:45 +0300 In-reply-to: <20220608202420.GA418223@bhelgaas> Message-ID: <875yla55vg.fsf@tarshish> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi Bjorn, [ Changed codeaurora.com addresses to their quicinc.com equivalents ] On Wed, Jun 08 2022, Bjorn Helgaas wrote: > [+cc Stanimir, beginning of thread at > https://lore.kernel.org/r/cover.1644234441.git.baruch@tkos.co.il] > > On Tue, Jun 07, 2022 at 03:12:19PM +0200, Robert Marko wrote: >> On Wed, May 11, 2022 at 4:03 PM Lorenzo Pieralisi >> wrote: >> > >> > On Tue, Apr 12, 2022 at 05:12:59PM +0100, Lorenzo Pieralisi wrote: >> > > On Mon, Feb 07, 2022 at 04:51:23PM +0200, Baruch Siach wrote: >> > > > This series adds support for the single PCIe lane on IPQ6018 SoCs. The code is >> > > > ported from downstream Codeaurora v5.4 kernel. The main difference from >> > > > downstream code is the split of PCIe registers configuration from .init to >> > > > .post_init, since it requires phy_power_on(). >> > > > >> > > > Tested on IPQ6010 based hardware. >> > > > >> > > > Changes in v6: >> > > > >> > > > * Drop DT patch applied to the qcom tree >> > > > >> > > > * Normalize driver changes subject line >> > > > >> > > > * Add a preparatory patch to rename PCIE_CAP_LINK1_VAL to PCIE_CAP_SLOT_VAL, >> > > > and define it using PCI_EXP_SLTCAP_* macros >> > > > >> > > > * Drop a vague comment about ASPM configuration >> > > > >> > > > * Add a comment about the source of delay periods >> > > > >> > > > Changes in v5: >> > > > >> > > > * Remove comments from qcom_pcie_init_2_9_0() (Bjorn Andersson) >> > > > >> > > > Changes in v4: >> > > > >> > > > * Drop applied DT bits >> > > > >> > > > * Add max-link-speed that was missing from the applied v2 patch >> > > > >> > > > * Rebase the driver on v5.16-rc3 >> > > > >> > > > Changes in v3: >> > > > >> > > > * Drop applied patches >> > > > >> > > > * Rely on generic code for speed setup >> > > > >> > > > * Drop unused macros >> > > > >> > > > * Formatting fixes >> > > > >> > > > Changes in v2: >> > > > >> > > > * Add patch moving GEN3_RELATED macros to a common header >> > > > >> > > > * Drop ATU configuration from pcie-qcom >> > > > >> > > > * Remove local definition of common registers >> > > > >> > > > * Use bulk clk and reset APIs >> > > > >> > > > * Remove msi-parent from device-tree >> > > > >> > > > Baruch Siach (2): >> > > > PCI: dwc: tegra: move GEN3_RELATED DBI register to common header >> > > > PCI: qcom: Define slot capabilities using PCI_EXP_SLTCAP_* >> > > > >> > > > Selvam Sathappan Periakaruppan (1): >> > > > PCI: qcom: Add IPQ60xx support >> > > > >> > > > drivers/pci/controller/dwc/pcie-designware.h | 7 + >> > > > drivers/pci/controller/dwc/pcie-qcom.c | 155 ++++++++++++++++++- >> > > > drivers/pci/controller/dwc/pcie-tegra194.c | 6 - >> > > > 3 files changed, 160 insertions(+), 8 deletions(-) >> > > >> > > Hi Bjorn, Andy, >> > > >> > > any feedback on this series please ? >> > >> > Any feedback on these patches please ? >> >> Finally dug the CP01, and for me, it works, so: >> Tested-by: Robert Marko > > This mainly affects pcie-qcom.c, so it looks like Stanimir should have > been copied on this, but wasn't. Please include him on the next > iteration. I somehow missed the pcie-qcom.c standalone entry in MAINTAINERS because the same file also appears on the general qcom entry. I'll add him on v7. Hopefully that will improve the fortune of this series. > This will also need to be updated to apply on v5.19-rc1: > > 03:21:47 ~/linux (next)$ git checkout -b wip/baruch-ipq6018-v6 v5.19-rc1 > Switched to a new branch 'wip/baruch-ipq6018-v6' > 03:21:55 ~/linux (wip/baruch-ipq6018-v6)$ git am m/v6_20220207_baruch_pci_ipq6018_platform_support.mbx > Applying: PCI: dwc: tegra: move GEN3_RELATED DBI register to common header > Applying: PCI: qcom: Define slot capabilities using PCI_EXP_SLTCAP_* > Applying: PCI: qcom: Add IPQ60xx support > error: patch failed: drivers/pci/controller/dwc/pcie-qcom.c:1531 > error: drivers/pci/controller/dwc/pcie-qcom.c: patch does not apply > Patch failed at 0003 PCI: qcom: Add IPQ60xx support I'll rebase on v5.19-rc1. baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8F553CCA480 for ; Thu, 9 Jun 2022 13:23:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:In-reply-to: Date:Subject:Cc:To:From:References:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=r8KtGB8SyrRqZZhX0oPmMUkKtoZoacQ33V2xDCkZuUw=; b=hZ9XMdB8qJa6pW l9Xf4UVzl68bzGAu7SySeoAOz6GaViFVwANWxc2XC0bCFNawzGxjBAqSH7UszdBXpo2QuFXajrJzA LgSl1y6pWVQpdCIzQRPgL/Aw6s7u12Y/dBXDTM4Dp3p7ytpnXvk3hVBquPLSpBra0Gj9GT3GRNXBV RFPT2s615J/AcMK67VqFudzjOg7Cn5Jinie+QyfKJ+SgbQMl1BerMpfbwYetrRoN7AMS580MGa0M5 SQdlYteVjueZqGSyiSRG8V6RF5pPDNWfPRIXtDqa/q6dwT6q7VIxzsbMAmr3Cnr28yB7/QthzDyBz qyvsfZGXNoubvhrH4/Aw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzI7E-0027Ei-0W; Thu, 09 Jun 2022 13:22:24 +0000 Received: from hours.tkos.co.il ([84.110.109.230] helo=mail.tkos.co.il) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzI7A-0027Bo-D1 for linux-arm-kernel@lists.infradead.org; Thu, 09 Jun 2022 13:22:22 +0000 Received: from tarshish (unknown [10.0.8.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.tkos.co.il (Postfix) with ESMTPS id 18F7A44051C; Thu, 9 Jun 2022 16:21:59 +0300 (IDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tkos.co.il; s=default; t=1654780919; bh=4lmVetWEizyXy3Pcuz2UbHUUHYh1KNwujq3JDVAhUY0=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=UJI4vR8Zfb7oVVfnOiz41PthhfILl1KVnFTBLuvNZVn82JWIlUMmB2xlmU4cZXjey 6Bg2yZSDDQXf8zYA1ylkOLtPogQRPqLgwvDuxXzqLJtYiP+tv3ccL9RtcUpWW+RuBU hQZ+stxFV+SKPtvJyG0OQE8SfeXlQkNWjunLIZr8eJAMtwtQ+CFhQfb1Te8e7Vg3kU ILHa/PWNDASm4ao8XmEzi/YPBkj7DPnA/hKAihrzOsX5w0vgdbvIMxvykB94ndTBfA dxwhJph4Pms//iDVJcfmcx5K6j26xFH/DouH8SCHBfLyY17dEJ/w+iD52eQOhCviiw yUWKybm+/HOlQ== References: <20220608202420.GA418223@bhelgaas> User-agent: mu4e 1.6.10; emacs 27.1 From: Baruch Siach To: Bjorn Helgaas Cc: Robert Marko , Lorenzo Pieralisi , Bjorn Andersson , Andy Gross , Selvam Sathappan Periakaruppan , Kathiravan T , Bjorn Helgaas , Rob Herring , Thierry Reding , Jonathan Hunter , Jingoo Han , Gustavo Pimentel , Bryan O'Donoghue , linux-pci@vger.kernel.org, linux-arm-msm , Linux ARM , linux-tegra@vger.kernel.org, Stanimir Varbanov Subject: Re: [PATCH v6 0/3] PCI: IPQ6018 platform support Date: Thu, 09 Jun 2022 16:10:45 +0300 In-reply-to: <20220608202420.GA418223@bhelgaas> Message-ID: <875yla55vg.fsf@tarshish> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220609_062220_917800_C546C74D X-CRM114-Status: GOOD ( 34.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Bjorn, [ Changed codeaurora.com addresses to their quicinc.com equivalents ] On Wed, Jun 08 2022, Bjorn Helgaas wrote: > [+cc Stanimir, beginning of thread at > https://lore.kernel.org/r/cover.1644234441.git.baruch@tkos.co.il] > > On Tue, Jun 07, 2022 at 03:12:19PM +0200, Robert Marko wrote: >> On Wed, May 11, 2022 at 4:03 PM Lorenzo Pieralisi >> wrote: >> > >> > On Tue, Apr 12, 2022 at 05:12:59PM +0100, Lorenzo Pieralisi wrote: >> > > On Mon, Feb 07, 2022 at 04:51:23PM +0200, Baruch Siach wrote: >> > > > This series adds support for the single PCIe lane on IPQ6018 SoCs. The code is >> > > > ported from downstream Codeaurora v5.4 kernel. The main difference from >> > > > downstream code is the split of PCIe registers configuration from .init to >> > > > .post_init, since it requires phy_power_on(). >> > > > >> > > > Tested on IPQ6010 based hardware. >> > > > >> > > > Changes in v6: >> > > > >> > > > * Drop DT patch applied to the qcom tree >> > > > >> > > > * Normalize driver changes subject line >> > > > >> > > > * Add a preparatory patch to rename PCIE_CAP_LINK1_VAL to PCIE_CAP_SLOT_VAL, >> > > > and define it using PCI_EXP_SLTCAP_* macros >> > > > >> > > > * Drop a vague comment about ASPM configuration >> > > > >> > > > * Add a comment about the source of delay periods >> > > > >> > > > Changes in v5: >> > > > >> > > > * Remove comments from qcom_pcie_init_2_9_0() (Bjorn Andersson) >> > > > >> > > > Changes in v4: >> > > > >> > > > * Drop applied DT bits >> > > > >> > > > * Add max-link-speed that was missing from the applied v2 patch >> > > > >> > > > * Rebase the driver on v5.16-rc3 >> > > > >> > > > Changes in v3: >> > > > >> > > > * Drop applied patches >> > > > >> > > > * Rely on generic code for speed setup >> > > > >> > > > * Drop unused macros >> > > > >> > > > * Formatting fixes >> > > > >> > > > Changes in v2: >> > > > >> > > > * Add patch moving GEN3_RELATED macros to a common header >> > > > >> > > > * Drop ATU configuration from pcie-qcom >> > > > >> > > > * Remove local definition of common registers >> > > > >> > > > * Use bulk clk and reset APIs >> > > > >> > > > * Remove msi-parent from device-tree >> > > > >> > > > Baruch Siach (2): >> > > > PCI: dwc: tegra: move GEN3_RELATED DBI register to common header >> > > > PCI: qcom: Define slot capabilities using PCI_EXP_SLTCAP_* >> > > > >> > > > Selvam Sathappan Periakaruppan (1): >> > > > PCI: qcom: Add IPQ60xx support >> > > > >> > > > drivers/pci/controller/dwc/pcie-designware.h | 7 + >> > > > drivers/pci/controller/dwc/pcie-qcom.c | 155 ++++++++++++++++++- >> > > > drivers/pci/controller/dwc/pcie-tegra194.c | 6 - >> > > > 3 files changed, 160 insertions(+), 8 deletions(-) >> > > >> > > Hi Bjorn, Andy, >> > > >> > > any feedback on this series please ? >> > >> > Any feedback on these patches please ? >> >> Finally dug the CP01, and for me, it works, so: >> Tested-by: Robert Marko > > This mainly affects pcie-qcom.c, so it looks like Stanimir should have > been copied on this, but wasn't. Please include him on the next > iteration. I somehow missed the pcie-qcom.c standalone entry in MAINTAINERS because the same file also appears on the general qcom entry. I'll add him on v7. Hopefully that will improve the fortune of this series. > This will also need to be updated to apply on v5.19-rc1: > > 03:21:47 ~/linux (next)$ git checkout -b wip/baruch-ipq6018-v6 v5.19-rc1 > Switched to a new branch 'wip/baruch-ipq6018-v6' > 03:21:55 ~/linux (wip/baruch-ipq6018-v6)$ git am m/v6_20220207_baruch_pci_ipq6018_platform_support.mbx > Applying: PCI: dwc: tegra: move GEN3_RELATED DBI register to common header > Applying: PCI: qcom: Define slot capabilities using PCI_EXP_SLTCAP_* > Applying: PCI: qcom: Add IPQ60xx support > error: patch failed: drivers/pci/controller/dwc/pcie-qcom.c:1531 > error: drivers/pci/controller/dwc/pcie-qcom.c: patch does not apply > Patch failed at 0003 PCI: qcom: Add IPQ60xx support I'll rebase on v5.19-rc1. baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il - _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel