Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1061402pxy; Thu, 22 Apr 2021 22:13:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgUmgveiR7b0k61YlCEDdce41fza68HY2Cth9C3SlYQ0LXUCaLGxR7se1xhfo1fNt9XKnH X-Received: by 2002:a17:902:ea89:b029:ea:c781:daad with SMTP id x9-20020a170902ea89b02900eac781daadmr2322195plb.62.1619154797178; Thu, 22 Apr 2021 22:13:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619154797; cv=none; d=google.com; s=arc-20160816; b=jBewTcMNNDCM5NTt8gCxmrJCza4pgBYd3/TU18ney3Sfq2asmxT2xRhGICRQJaanGK jFOGI9QLnLOkt+z4JipE6UTL7c1PxXa84oYyaYgixhbOIleUyDrN2Fo85GX23eWo/vun shS7ObL2lVS877k+gj1ast0uYfn01gkZnxYmDbbXk9DNsoXx3hPZH/O9cpY+J9ZXffrK dMAcaVifguhu0HRxG+lBQQ0VlciBYuQ95ZzyBh2cxlcsiH52bwK7dQLxYKZ76EJAGCsM m3g2zsF/379vq5MsdVJj1Hp6HAQfxaFuq3daFoLc6F0jpYjlH8ZR0Zv4+Lq1M6Dvb3Be 5Cmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:cc:message-id:in-reply-to:subject:date :dkim-signature; bh=wv06ln7jUx5RhDbCP3yp9Aqv9te0/cVOv02q2bnuehY=; b=rGMxu4QVMG7ZDJr/kXIIqFsdz6INSapHO8mM/iJ5vjW0++RGCGwPllaLypG8AD5RvJ VHqGbPe/lKLjNwyVHtV/rAbjefzHaUNRwikwHvizhM3zk3CACv3O8quR5JbB0OGMFg/x LrpyjE6TMQuoNH2tG4x4T7+x6vBs9fXeY5txZibtJodPOihOmmj5iIczYADSuSqwQD2K ax4W0ebShtodyR27qV2/pFl7qBYtuoeOHoPZc1n6bENb4hhfTo+gVBa72BbzsxM+uSPO Exp7rqQTTXXCFdPoiOB4aY8TKRG1RLdBI1+RLhDqfolofBsvqCUTq+sLnJu58Ic0wnD6 7wPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=g8L5eXN9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j5si5644369pgb.340.2021.04.22.22.12.52; Thu, 22 Apr 2021 22:13:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=g8L5eXN9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229549AbhDWFLZ (ORCPT + 99 others); Fri, 23 Apr 2021 01:11:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbhDWFLY (ORCPT ); Fri, 23 Apr 2021 01:11:24 -0400 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 018CAC06174A for ; Thu, 22 Apr 2021 22:10:46 -0700 (PDT) Received: by mail-pf1-x432.google.com with SMTP id i190so33301477pfc.12 for ; Thu, 22 Apr 2021 22:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20150623.gappssmtp.com; s=20150623; h=date:subject:in-reply-to:message-id:cc:from:to; bh=wv06ln7jUx5RhDbCP3yp9Aqv9te0/cVOv02q2bnuehY=; b=g8L5eXN96akk8Lkciek2Sc0gsTJvNnKVFJHZfByuKNxnTF709JIIdd1RvDUwe0Fotv uOrf1P0hSbehB0KgZ8nYI7bCZnuPK/WfGayN/8XW+ee3EOFU77ib+pPbhYPlf38BuLQI 6iAoHlfMq91h33qEw7vJh72HvkBw10cAc+zsMucNTFDQulPKFsWaAieKVrIj30doGYEg x1/B0qDkMht91pk2+ny4eO2XXyd5qqJC9gIhfwpeKaESCT7M98mHALmsvu2MAUIkFW/8 VNChTnpZreSFnuKDuzAlTgzvSy2JRMwW87dkQjuhELi3wdjFZFuX3/MuG7omwQXg3R0Y c56g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:message-id:cc:from:to; bh=wv06ln7jUx5RhDbCP3yp9Aqv9te0/cVOv02q2bnuehY=; b=gR3s3Ov/dsck5nY9u5k46RfD87X/Um6gLUD4/4b4lxqSz9Uzij1quBG2wrvNCZhFQ/ 9yC3L/bw91mpWMh7wNmdoTsbcarFyJWb0YwWggKK/F32a+y88Tn8RwTPSbY4/npDmxf4 D488jI3DCCgPhERS9TmdYZjhhBt9HbG4h3MGWoArcMyxQDPdzh0bJGpQNFL6BrO2m6U3 aenjk0hNyAY/i2BFLYzMsjoIOcDLSc6sjr5OFyf64ZgcAgjSeoSb7TS501CNH/A9kR45 IIUId2v0U7TQLLaxMwzz0JZi4jV+ZkrRWXnfTVoNXpijNpVLxxxbenvQWGlzFakGExSk WdsA== X-Gm-Message-State: AOAM5313ZuOxJu2h4+77sbgv6tl8fI/GJ0GAF/DOfN38Cx6CO5KMWzhj WuG3IeDgUqDIECOl9SPJrh0UnQ== X-Received: by 2002:a63:3d48:: with SMTP id k69mr2050932pga.239.1619154646285; Thu, 22 Apr 2021 22:10:46 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id nh24sm3535434pjb.38.2021.04.22.22.10.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Apr 2021 22:10:45 -0700 (PDT) Date: Thu, 22 Apr 2021 22:10:45 -0700 (PDT) X-Google-Original-Date: Thu, 22 Apr 2021 22:10:08 PDT (-0700) Subject: Re: [PATCH v5 0/6] Add SiFive FU740 PCIe host controller driver support In-Reply-To: Message-ID: CC: greentime.hu@sifive.com, lorenzo.pieralisi@arm.com, jh80.chung@samsung.com, zong.li@sifive.com, robh+dt@kernel.org, vidyas@nvidia.com, alex.dewar90@gmail.com, erik.danie@sifive.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pci@vger.kernel.org, linux-riscv@lists.infradead.org, mturquette@baylibre.com, aou@eecs.berkeley.edu, sboyd@kernel.org, hayashi.kunihiko@socionext.com, hes@sifive.com, khilman@baylibre.com, p.zabel@pengutronix.de, bhelgaas@google.com, helgaas@kernel.org, devicetree@vger.kernel.org, Paul Walmsley From: Palmer Dabbelt To: greentime.hu@sifive.com, lorenzo.pieralisi@arm.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 22 Apr 2021 21:43:03 PDT (-0700), Palmer Dabbelt wrote: > On Sun, 11 Apr 2021 19:37:50 PDT (-0700), greentime.hu@sifive.com wrote: >> Lorenzo Pieralisi 於 2021年4月9日 週五 下午4:54寫道: >>> >>> On Tue, 6 Apr 2021 17:26:28 +0800, Greentime Hu wrote: >>> > This patchset includes SiFive FU740 PCIe host controller driver. We also >>> > add pcie_aux clock and pcie_power_on_reset controller to prci driver for >>> > PCIe driver to use it. >>> > >>> > This is tested with e1000e: Intel(R) PRO/1000 Network Card, AMD Radeon R5 >>> > 230 graphics card and SP M.2 PCIe Gen 3 SSD in SiFive Unmatched based on >>> > v5.11 Linux kernel. >>> > >>> > [...] >>> >>> Applied to pci/dwc [dropped patch 6], thanks! >>> >>> [1/6] clk: sifive: Add pcie_aux clock in prci driver for PCIe driver >>> https://git.kernel.org/lpieralisi/pci/c/f3ce593b1a >>> [2/6] clk: sifive: Use reset-simple in prci driver for PCIe driver >>> https://git.kernel.org/lpieralisi/pci/c/0a78fcfd3d >>> [3/6] MAINTAINERS: Add maintainers for SiFive FU740 PCIe driver >>> https://git.kernel.org/lpieralisi/pci/c/8bb1c66a90 >>> [4/6] dt-bindings: PCI: Add SiFive FU740 PCIe host controller >>> https://git.kernel.org/lpieralisi/pci/c/b86d55c107 >>> [5/6] PCI: fu740: Add SiFive FU740 PCIe host controller driver >>> https://git.kernel.org/lpieralisi/pci/c/327c333a79 >>> >>> Thanks, >>> Lorenzo >> >> Hi Palmer, >> >> Since the PCIE driver has been applied, would you please pick patch 6 >> to RISC-V for-next tree? >> Thank you. :) > > Sorry, I got this confused between the Linux patch set and the u-boot > patch set so I thought more versions of this had kept comming. The DT > is on for-next now. I spoke too soon: this actually dosn't even build for me. It's the "clocks = <&prci PRCI_CLK_PCIE_AUX>;" line Error: arch/riscv/boot/dts/sifive/fu740-c000.dtsi:319.20-21 syntax error FATAL ERROR: Unable to parse input tree make[2]: *** [scripts/Makefile.lib:336: arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dtb] Error 1 make[1]: *** [scripts/Makefile.build:514: arch/riscv/boot/dts/sifive] Error 2 make: *** [Makefile:1388: dtbs] Error 2 make: *** Waiting for unfinished jobs.... I'm not sure what the issue is, I see an anchor for "prci". Do you mind sending along a new version that compiles on top of for-next? If I need the definiton of PRCI_CLK_PCIE_AUX from a PCIe tree then it's probably best to just keep the DTS along with the rest of the patches. IIRC I alredy Acked it, but just to be clear Acked-by: Palmer Dabbelt Thanks!