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 ABE77EFD20D for ; Wed, 25 Feb 2026 08:56:41 +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:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=LX73/sdAGxjNzR8h5DGn+/NlS5HcGp3DR0y6xhUIhJ8=; b=YAfudqAzY2nZhd boSp/2fnay/N101XufMQzw8EulwukF25Q1iHEGl6zLS9W2AwIjX0xSY5xO3ZPcSEUHCIUUJKXNKzb 6HWdXUMWKEJY/aXXfAlLgHjDXqtOL3sLjOawGLu2DQNH1QpcwKh/xvrKvKaLSPucyQQ7WzYz81q/t gJQhMS+lpX/Yywlx/b7Uwf1XVVynJJufuZU2QpVJDgKh+ToD94iob1dBsxZOpTKx0L13rXsdliF0z zJygAnPMBy6/fckfs1uDCpXna+slgkyRMvBZfn6nOtwZKbUJu/RDIOuDlJm79vvv5w0HbtEJEuiWm loRIXQ01B7EEFULhnTbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vvAh7-00000003au5-0B1A; Wed, 25 Feb 2026 08:56:33 +0000 Received: from exmail.andestech.com ([60.248.187.195] helo=Atcsqr.andestech.com) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vvAh3-00000003arF-1xgH for linux-riscv@lists.infradead.org; Wed, 25 Feb 2026 08:56:31 +0000 Received: from mail.andestech.com (ATCPCS34.andestech.com [10.0.1.134]) by Atcsqr.andestech.com with ESMTP id 61P8tAPa077808; Wed, 25 Feb 2026 16:55:10 +0800 (+08) (envelope-from randolph@andestech.com) Received: from swlinux02.andestech.com (10.0.15.183) by ATCPCS34.andestech.com (10.0.1.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 25 Feb 2026 16:55:10 +0800 From: Randolph To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Randolph Lin Subject: [PATCH v11 0/4] Add support for Andes Qilai SoC PCIe controller Date: Wed, 25 Feb 2026 16:55:00 +0800 Message-ID: <20260225085504.3757601-1-randolph@andestech.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.0.15.183] X-ClientProxiedBy: ATCPCS33.andestech.com (10.0.1.100) To ATCPCS34.andestech.com (10.0.1.134) X-DKIM-Results: atcpcs34.andestech.com; dkim=none; X-DNSRBL: X-MAIL: Atcsqr.andestech.com 61P8tAPa077808 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260225_005629_871054_0D5E5CE9 X-CRM114-Status: GOOD ( 13.62 ) 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 From: Randolph Lin Add support for Andes Qilai SoC PCIe controller These patches introduce driver support for the PCIe controller on the Andes Qilai SoC. Signed-off-by: Randolph Lin --- Changes in v11: - Make minor adjustments based on the reviewer's suggestions. - Use FIELD_GET() to check the link status. - Use dw_pcie_readl_dbi() when reading from the DBI region. - Enable runtime PM to participate in the PM hierarchy. - Add dma-coherent to the DT bindings and DTS. - Fix the interrupt-map-mask value in the DT bindings example. - Modify the maximum ranges size to support multiple iATU regions in the DT bindings and DTS. Changes in v10: - Use "qilai" instead of "andes" as the tag Changes in v9: - Drop the patch that adjusts the number of OB/IB windows. - Made minor adjustments based on the reviewer's suggestions. Changes in v8: - Fix the compile error reported by the kernel test robot. Changes in v7: - Remove unnecessary nodes and property in DTS bindings Changes in v6: - Fix typo in the logic for adjusting the number of OB/IB windows Changes in v5: - Add support to adjust the number of OB/IB windows in the glue driver. - Fix the number of OB windows in the Qilai PCIe driver. - Remove meaningless properties from the device tree. - Made minor adjustments based on the reviewer's suggestions. Changes in v4: - Add .post_init callback for enabling IOCP cache. - Sort by vender name in Kconfig - Using PROBE_PREFER_ASYNCHRONOUS as default probe type. - Made minor adjustments based on the reviewer's suggestions. Changes in v3: - Remove outbound ATU address range validation callback and logic. - Add logic to skip failed outbound iATU configuration and continue. - Using PROBE_PREFER_ASYNCHRONOUS as default probe type. - Made minor adjustments based on the reviewer's suggestions. Changes in v2: - Remove the patch that adds the dma-ranges property to the SoC node. - Add dma-ranges to the PCIe parent node bus node. - Refactor and rename outbound ATU address range validation callback and logic. - Use parent_bus_offset instead of cpu_addr_fixup(). - Using PROBE_DEFAULT_STRATEGY as default probe type. - Made minor adjustments based on the reviewer's suggestions. Randolph Lin (4): dt-bindings: PCI: Add Andes QiLai PCIe support riscv: dts: qilai: Add PCIe node into the QiLai SoC PCI: qilai: Add Andes QiLai SoC PCIe host driver support MAINTAINERS: Add maintainers for Andes QiLai PCIe driver .../bindings/pci/andestech,qilai-pcie.yaml | 89 ++++++++ MAINTAINERS | 7 + arch/riscv/boot/dts/andes/qilai.dtsi | 109 ++++++++++ drivers/pci/controller/dwc/Kconfig | 13 ++ drivers/pci/controller/dwc/Makefile | 1 + drivers/pci/controller/dwc/pcie-andes-qilai.c | 199 ++++++++++++++++++ 6 files changed, 418 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/andestech,qilai-pcie.yaml create mode 100644 drivers/pci/controller/dwc/pcie-andes-qilai.c -- 2.34.1 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv