Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9406147rwp; Thu, 20 Jul 2023 04:38:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlE4vWN6NybiobuTa2CNdKGobwgh162m0glXu+oP/CimpZh6hQg9/b9zswDIoU8bSObvwtkt X-Received: by 2002:a17:902:ea0a:b0:1b9:c61c:4c01 with SMTP id s10-20020a170902ea0a00b001b9c61c4c01mr6896021plg.9.1689853102646; Thu, 20 Jul 2023 04:38:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689853102; cv=none; d=google.com; s=arc-20160816; b=m/2ymar2JJJMt7+nP0DsdZ2EgqgvoK2M8A6Kw6fLzJRYcyxjy9qPQOMqnk9aiPkYxe uHkl3xArDVgPug+xnVXTPwTTmtAolXwTkqw4HOZzcrf6Fk9Rqh/70PgtB+ghYkCSZzZZ QjGAl8DDsMiHzpda6Ebfkttz4gd7pNBCD2MvE7mPTnHu5+i3v6TG2M3GNXMe9bE9LjQQ puTdmJ7nIOf5Oto+IXiiF1J5GKhaTIk4xpI6jmXObdD+51JPrDQ0UYakauYFaqDe6VKN wjGdCC4YLaDkgYoTBtmQIUB8X8GQxiN8a7u1LUqlsL0iViN/IINV0YycgOPwp9brVTj7 p/hA== 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 :references:message-id:subject:cc:to:from:date:dkim-signature; bh=d5vZ839ilfQ0xK0OBeoFVqm7xNqIoRNJniWAY5ZMhkc=; fh=k6QRgSYUEk4TohANYtBPeTostizaMi67PPKWMa+DEMk=; b=SkfuJOlgs0HC0i2SK6O/BLhVARKQI/2LC1OW/CZqaa2Yrjm4hre+kcOzMEMGFo9B50 tqxm2NeCOzZhqfSL4X2sk1Br0akf/fwS+N9hRX9DQUlv7AyuplDbLuxWKMx3+BopJPNl QeYAdzlaajoKzIhw3M7Qc1B2cKo0T/xqvBxcMXAwts9siUNjn21NwCzecnpnXm+ul6i3 iyd9Lc1r9+aJ5VD4KZdLK6b0pji1ZhprGbgQ7+GAtB1aW+ciiUCNHV2kXq71T7KFgKHn Tzw5U4hR8U6NtWBKlbDwh5yJJLEMC9B5hcXMInXoKfeI2MH+4PCaZW82MdJ+91FIlnID mh4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=DrgBMB5A; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a63d809000000b0055391572218si33677pgh.26.2023.07.20.04.38.10; Thu, 20 Jul 2023 04:38:22 -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=@microchip.com header.s=mchp header.b=DrgBMB5A; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230042AbjGTLPQ (ORCPT + 99 others); Thu, 20 Jul 2023 07:15:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbjGTLPO (ORCPT ); Thu, 20 Jul 2023 07:15:14 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08F202690; Thu, 20 Jul 2023 04:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1689851714; x=1721387714; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=YNjRIglSn+Mq54+ClkMlyrrKM6JqxpWLeZXEHD/ENyE=; b=DrgBMB5AMNK+Q0c83VIY+JW9y4vCzZb8w96M6JdXQTwlZFyTiu81AiPO ED7dbl0yRiXk6BdU5TvS4zAfPaweILaDkWVKAiEXNV9VYbvMXPFht6yna /DBujXGOC4mjX7pDjljxKJ4a3JNofKH67XNatLVU+D3ie2u1P5bBkhj2t C3h56ZkC3LihH3L9otS3Y3eM+VZeaapXh3Q7HSY3mGn8Q2IcKvJhRSaLZ XLjCbI0kQt2qaROJtdtM4gD7EWwZCr0PeI8q0Nkfj+2S1UZLmpaKs/jwU AlKNPUQNgC+RaRqcYp7NodYH8P5nHlVTWmrQ7mne9DgxjRsnpa0agAEtb w==; X-IronPort-AV: E=Sophos;i="6.01,218,1684825200"; d="asc'?scan'208";a="224157917" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 20 Jul 2023 04:15:13 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 20 Jul 2023 04:15:12 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 20 Jul 2023 04:15:09 -0700 Date: Thu, 20 Jul 2023 12:14:36 +0100 From: Conor Dooley To: Minda Chen CC: Daire McNamara , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Emil Renner Berthing , , , , , Paul Walmsley , "Palmer Dabbelt" , Albert Ou , "Philipp Zabel" , Mason Huo , Leyfoon Tan , Kevin Xie Subject: Re: [PATCH v1 8/9] PCI: PLDA: starfive: Add JH7110 PCIe controller Message-ID: <20230720-vanquish-upcoming-1145e052c849@wendy> References: <20230719102057.22329-1-minda.chen@starfivetech.com> <20230719102057.22329-9-minda.chen@starfivetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="J786f78MG4rGWZCB" Content-Disposition: inline In-Reply-To: <20230719102057.22329-9-minda.chen@starfivetech.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE,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 --J786f78MG4rGWZCB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 19, 2023 at 06:20:56PM +0800, Minda Chen wrote: > Add StarFive JH7110 SoC PCIe controller platform > driver codes. >=20 > Signed-off-by: Minda Chen > Reviewed-by: Mason Huo > --- > MAINTAINERS | 7 + > drivers/pci/controller/plda/Kconfig | 8 + > drivers/pci/controller/plda/Makefile | 1 + > drivers/pci/controller/plda/pcie-plda.h | 58 ++- > drivers/pci/controller/plda/pcie-starfive.c | 415 ++++++++++++++++++++ > 5 files changed, 487 insertions(+), 2 deletions(-) > create mode 100644 drivers/pci/controller/plda/pcie-starfive.c >=20 > diff --git a/MAINTAINERS b/MAINTAINERS > index f02618c2bdf5..b88a54a24ae5 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -20356,6 +20356,13 @@ S: Supported > F: Documentation/devicetree/bindings/watchdog/starfive* > F: drivers/watchdog/starfive-wdt.c > =20 > +STARFIVE JH71x0 PCIE DRIVER > +M: Minda Chen > +L: linux-pci@vger.kernel.org > +S: Supported > +F: Documentation/devicetree/bindings/pci/starfive* > +F: drivers/pci/controller/plda/pcie-starfive.c > + > STATIC BRANCH/CALL > M: Peter Zijlstra > M: Josh Poimboeuf > diff --git a/drivers/pci/controller/plda/Kconfig b/drivers/pci/controller= /plda/Kconfig > index a3c790545843..eaf72954da9f 100644 > --- a/drivers/pci/controller/plda/Kconfig > +++ b/drivers/pci/controller/plda/Kconfig > @@ -24,4 +24,12 @@ config PCIE_MICROCHIP_HOST > Say Y here if you want kernel to support the Microchip AXI PCIe > Host Bridge driver. > =20 > +config PCIE_STARFIVE_HOST > + tristate "StarFive PCIe host controller" > + select PCIE_PLDA_HOST Ditto here, I think this suffers from the same issue, although its probably only really randconfigs that'll trigger it. > + help > + Say Y here if you want to support the StarFive PCIe controller > + in host mode. StarFive PCIe controller uses PLDA PCIe > + core. > + > endmenu --J786f78MG4rGWZCB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZLkXHAAKCRB4tDGHoIJi 0m9pAP9EyJHAUvHXemhchcieYU5ZwFz9SUQoN1qLf6k7DVl5aQEA5wHTHNqMKBQ7 SycW/eeQcp3dKd4ozKRqEI0wwtYsmQw= =9Nkb -----END PGP SIGNATURE----- --J786f78MG4rGWZCB--