Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp10272637rwp; Thu, 20 Jul 2023 18:10:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlG9Ed83b83yf8JmGUvpk6fFTUp0hSLe/y24fE3inLHsvOY3q1TMenq5VFIwg5fatlqD4ShA X-Received: by 2002:a17:902:9a86:b0:1b9:e97f:38ac with SMTP id w6-20020a1709029a8600b001b9e97f38acmr469304plp.56.1689901800812; Thu, 20 Jul 2023 18:10:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689901800; cv=none; d=google.com; s=arc-20160816; b=ixOFiCq5GPTddD9TVmb0ibyeZi6Dv5nk+UedFZVMaykHIT0auIfVgfeIHX6LBUnqy0 sUiebpNZAoj6+2g+3owIsJfG12cEfYlgTLcZkYNtw28Nanlc9PMOnEsHx/gPblfuNOPp aQq18m6CFl7Jq2R3NcMhTEBN8gah1GziQn01d2ZzFSG9OYB2ZcjbnCDn3egiI4bsE8Ot +rQlTeAJlfdThUcBje+hi6uaZfudsmwK6EVo9bh+78YygpS/oMKcIzQu118eScbl25tu cbj2JluML4uVteInzE9sNo0BpDx1evyx2iA7ssDtkq3VK61Nic5ZCKm2l22q5qIjewT1 FlwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=tmFjpUsbgGHlDwdYrMQEB0+Txp3W2rkAzv8U2h5RCoo=; fh=bAgfIgcm/L8S7dIrfo2xSsp8Lreb3px5+HkLiZoI+QE=; b=r0RGyWUunM1roKJBnWg6QvKSNqVr96G4JDNyuEADuj0qaYGFLO4t3AmvZk0nH/nF+1 dr7ZAjinim1S9d3OMvpLhuiVWz+9lwhi3BxEs4ksJmbrfglZ3j+Qnk8+zuPK2OIZBIXh bUUe4UUyiptmxuTeIb3sfH/RnSaYCUHq4o+mL8FG21a299LAaHslQJFKc5iyoews1oG+ j+uCl5x4VAviOOSHuVD1zDExoVITYryzEqio20aAJe1OBXXPjJhLqAbbWTSePVNpSpOj zSswPJB5Xsrri/i0+2vnb8fByIXq19GI+Rl8y2dtSdFZklVj7Cugz+qo6pj1ZLxkZdwI K5Iw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d11-20020a170903230b00b001b89b77ce99si2141076plh.458.2023.07.20.18.09.48; Thu, 20 Jul 2023 18:10:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229452AbjGUBDu (ORCPT + 99 others); Thu, 20 Jul 2023 21:03:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbjGUBDt (ORCPT ); Thu, 20 Jul 2023 21:03:49 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 893FA2718; Thu, 20 Jul 2023 18:03:44 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id A166281B1; Fri, 21 Jul 2023 09:03:36 +0800 (CST) Received: from EXMBX171.cuchost.com (172.16.6.91) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 21 Jul 2023 09:03:36 +0800 Received: from [192.168.125.127] (113.72.147.86) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Fri, 21 Jul 2023 09:03:35 +0800 Message-ID: <2ace898a-c919-1388-28cd-0c39ac88dc62@starfivetech.com> Date: Fri, 21 Jul 2023 09:03:34 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v1 8/9] PCI: PLDA: starfive: Add JH7110 PCIe controller Content-Language: en-US To: Conor Dooley CC: Daire McNamara , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= , Emil Renner Berthing , , , , , Paul Walmsley , "Palmer Dabbelt" , Albert Ou , "Philipp Zabel" , Mason Huo , Leyfoon Tan , Kevin Xie References: <20230719102057.22329-1-minda.chen@starfivetech.com> <20230719102057.22329-9-minda.chen@starfivetech.com> <20230720-vanquish-upcoming-1145e052c849@wendy> From: Minda Chen In-Reply-To: <20230720-vanquish-upcoming-1145e052c849@wendy> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [113.72.147.86] X-ClientProxiedBy: EXCAS065.cuchost.com (172.16.6.25) To EXMBX171.cuchost.com (172.16.6.91) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_PASS,SPF_PASS,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 On 2023/7/20 19:14, Conor Dooley wrote: > On Wed, Jul 19, 2023 at 06:20:56PM +0800, Minda Chen wrote: >> Add StarFive JH7110 SoC PCIe controller platform >> driver codes. >> >> 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 >> >> 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 >> >> +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. >> >> +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. > ok, thanks, I will change it with microchip. >> + help >> + Say Y here if you want to support the StarFive PCIe controller >> + in host mode. StarFive PCIe controller uses PLDA PCIe >> + core. >> + >> endmenu