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 7585BCAC5B0 for ; Thu, 2 Oct 2025 11:05: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: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=NZO9FgAm90ulpe5rE9mQDrFg2XAEFDLvgu0N2nUVxao=; b=dNfjp1U3D4FNlF wWstTRbLOUsJVSSPHzC4//wjLK0pqJl5aCwrCahaSQQx8uoo8YdKROSVC36zwAEQgwDagG/O4Augf InrPQJ7H7wAAbjoOaVQuQLkSQnR8F6845kZcbm6XRQVO21Y6B3ATzS0F6zeQ+F9SqEN3/goTXWAtw VX0qDomIubTnWx+obbpr2tIIotxtU6U9fRckhAC0TFMgwwTouXuvw6e1rOdt19BzSS5GQZOZ+pxGO PSapREjg6OP2vwHB+o81mgxZsrh9vHVFXp5iVLbaMm2pHjYBOhTePOZ6rvLueAvAtZzs6kCK7Blie w4Do30AlICeq6/H/jk6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1v4H7c-0000000AKfA-3kVi; Thu, 02 Oct 2025 11:05:16 +0000 Received: from 60-248-80-70.hinet-ip.hinet.net ([60.248.80.70] helo=Atcsqr.andestech.com) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1v4H7a-0000000AKe2-0jTu for linux-riscv@lists.infradead.org; Thu, 02 Oct 2025 11:05:15 +0000 Received: from Atcsqr.andestech.com (localhost [127.0.0.2] (may be forged)) by Atcsqr.andestech.com with ESMTP id 592Ao2Dx070575 for ; Thu, 2 Oct 2025 18:50:02 +0800 (+08) (envelope-from randolph@andestech.com) Received: from mail.andestech.com (ATCPCS31.andestech.com [10.0.1.89]) by Atcsqr.andestech.com with ESMTPS id 592Ak6kS068536 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 2 Oct 2025 18:46:06 +0800 (+08) (envelope-from randolph@andestech.com) Received: from atctrx.andestech.com (10.0.15.173) by ATCPCS31.andestech.com (10.0.1.89) with Microsoft SMTP Server id 14.3.498.0; Thu, 2 Oct 2025 18:46:06 +0800 From: Randolph Lin To: CC: , , , , , , , , , , , , , , , , , , , , , , , Randolph Lin Subject: [PATCH v5 0/5] Add support for Andes Qilai SoC PCIe controller Date: Thu, 2 Oct 2025 18:45:53 +0800 Message-ID: <20251002104558.4068668-1-randolph@andestech.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.0.15.173] X-DKIM-Results: atcpcs31.andestech.com; dkim=none; X-DNSRBL: X-MAIL: Atcsqr.andestech.com 592Ao2Dx070575 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251002_040514_528097_163FC224 X-CRM114-Status: GOOD ( 13.42 ) 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 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 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 (5): PCI: dwc: Allow adjusting the number of ob/ib windows in glue driver dt-bindings: PCI: Add Andes QiLai PCIe support riscv: dts: andes: Add PCIe node into the QiLai SoC PCI: andes: Add Andes QiLai SoC PCIe host driver support MAINTAINERS: Add maintainers for Andes QiLai PCIe driver .../bindings/pci/andestech,qilai-pcie.yaml | 97 +++++++ MAINTAINERS | 7 + arch/riscv/boot/dts/andes/qilai.dtsi | 106 ++++++++ drivers/pci/controller/dwc/Kconfig | 13 + drivers/pci/controller/dwc/Makefile | 1 + drivers/pci/controller/dwc/pcie-andes-qilai.c | 240 ++++++++++++++++++ drivers/pci/controller/dwc/pcie-designware.c | 12 +- 7 files changed, 474 insertions(+), 2 deletions(-) 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