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 BD620C43458 for ; Fri, 3 Jul 2026 17:16:24 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hsjLnF6HehY1kAhpMDGhMYgfGLwsBT3UdZj1Nmz7Msw=; b=0H0yLK9nfT+eGV Ip+UW1mFkVoGdAjpssmJWqxCBYW80YviTUhRs0srVaUnM4JAd3UmVmRux6iWGasVFGglKoLTtBGx8 bxdLebZqn7CNDTyQPpSfXjHT9xJxlqiO/+HJMcB/0K44Y0yCFMdo3BZw4TObv2UEjg8Kl/uR7unJY pgBnX1rHee3BehxXBgnpAk+5qn2KgEDu5K+vhVYBVkIdpFQSuFPw01beKYSt3DPkcFeRmbU+KR9FI wd0QOm8rucc1WdiSVQ3SdvPXVARPpW/s1/McWtNiUtBkIZ6Ysdshni6MXNlLvY9GC+p/R0dPN4m6T Bq64Xm/mGRXgtgFsTwQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wfhUu-00000007bGW-1z3f; Fri, 03 Jul 2026 17:16:16 +0000 Received: from hall.aurel32.net ([2001:bc8:30d7:100::1]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wfhUr-00000007bGC-2dXL for linux-riscv@lists.infradead.org; Fri, 03 Jul 2026 17:16:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aurel32.net ; s=202004.hall; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Content-Transfer-Encoding:From:Reply-To: Subject:Content-ID:Content-Description:X-Debbugs-Cc; bh=cLSKMctPdQKy5wsj9y1nB9/36ncfBFcUYoRxf9bQipI=; b=K998PyfIpWOrOmSAvJh3nisrSZ LxHTwDQ0gZVhL3JFE07mIK2DPtN7e1gzoGK3M35DUURvhZEDm1PPJMbpL68IzJmWL2wVicQ1BE7Ar jWiF8ojeEOFaxs9kW20TnXMQWUOF6TWOgaG/Arhmfi00SNMMr0yGjUhylqY9YsTQfWFQAK7Yp68LW W/3yejE9iSLMwoeUivBwC+Pwkl8eC9icN4DJgCxKI/RqG7ueItf/qxmHQq13lZaOJ37JRvAR1S7Jq 2mYqTEX2h4mU7TbWBaeO6kPNfPOFF+nYynCutDVg4FZA3GiuNm7L+Z9Jx1brlrGEub+vURKEgTJja 7yqwnJgA==; Received: from authenticated user by hall.aurel32.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wfhUb-000000008iE-0Ehv; Fri, 03 Jul 2026 19:15:57 +0200 Date: Fri, 3 Jul 2026 19:15:56 +0200 From: Aurelien Jarno To: Inochi Amaoto Cc: Jingoo Han , Manivannan Sadhasivam , Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Christian Bruel , Frank Li , Neil Armstrong , Andy Shevchenko , Sascha Hauer , Xincheng Zhang , Alex Elder , Randolph Lin , Siddharth Vadapalli , Vidya Sagar , Gustavo Pimentel , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, Yixun Lan , Longbin Li Subject: Re: [PATCH v3 0/6] riscv: spacemit: Add PCIe RC controller support for K3 Message-ID: Mail-Followup-To: Inochi Amaoto , Jingoo Han , Manivannan Sadhasivam , Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Christian Bruel , Frank Li , Neil Armstrong , Andy Shevchenko , Sascha Hauer , Xincheng Zhang , Alex Elder , Randolph Lin , Siddharth Vadapalli , Vidya Sagar , Gustavo Pimentel , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, Yixun Lan , Longbin Li References: <20260703020003.485436-1-inochiama@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20260703020003.485436-1-inochiama@gmail.com> User-Agent: Mutt/2.2.13 (2024-03-09) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260703_101613_696988_C523E65F X-CRM114-Status: GOOD ( 14.46 ) X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On 2026-07-03 09:59, Inochi Amaoto wrote: > The PCIe controller on Spacemit K3 is almost a standard Synopsys > Designware PCIe IP with extra control and external MSI controller > (IMSIC). > > Add binding and driver support for PCIe RC controller support on K3. > > Changed from v2: > - https://lore.kernel.org/linux-pci/20260517014841.254085-1-inochiama@gmail.com/ > patch 2: > 1. Use unify PCIe phy get/enable/exit function for both K1 and K3. > patch 3: > 1. New patch for updating device id for both K1/K3 > patch 5: > 1. Reuse binding for spacemit,k1-pcie-host > patch 6: > 1. Multiple cleanup for the logic already generalized in the previous > patches. > 2. Use generic description for the Kconfig entry. > > Changed from v1: > patch 1: > 1. Remove post_init callback. > patch 2: > 1. Fix devm_kmalloc_array arguments order and error check. > patch 3: > 1. Apply Rob's tag. > 2. Change check from oneOf to anyOf. > 3. Fix spelling mistakes in commit message. > patch 4: > 1. Add comment about PHY handle. > 2. Remove interrupt "app". > 3. Fix spelling mistakes in commit message. > patch 5: > 1. Remove all logic related to link up interrupt. > 2. Clean up all unused macros. > 3. Fix devm_kmalloc_array arguments order and error check. > 4. Remove unnecessary start_link logic. > 5. Make all magic number as a macro. > 6. Fix spelling mistakes in code and commit message. > > Inochi Amaoto (6): > PCI: spacemit-k1: Add device data support > PCI: spacemit-k1: Add multiple PHY handles support > PCI: spacemit-k1: Add device id update helper > dt-bindings: PCI: snps,dw-pcie: Add msi-parent for MSI handle check > dt-bindings: PCI: spacemit: Introduce Spacemit K3 PCIe host controller > PCI: spacemit-k1: Add Spacemit K3 PCIe host controller support > > .../devicetree/bindings/pci/snps,dw-pcie.yaml | 7 +- > .../bindings/pci/spacemit,k1-pcie-host.yaml | 46 +++- > drivers/pci/controller/dwc/Kconfig | 4 +- > drivers/pci/controller/dwc/pcie-spacemit-k1.c | 237 ++++++++++++++++-- > 4 files changed, 267 insertions(+), 27 deletions(-) > For patches 1, 2, 3 and 6: Tested-by: Aurelien Jarno -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://aurel32.net _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv