Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1607160pxb; Thu, 4 Mar 2021 16:11:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJypD/Sl7JxIf4T9uRRE8KFqR6x/SNzsuyDkADUmNo8YE6UXC4TB/1y4jxzK2IfEJH/NtR25 X-Received: by 2002:a6b:7e02:: with SMTP id i2mr5658330iom.120.1614903072677; Thu, 04 Mar 2021 16:11:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614903072; cv=none; d=google.com; s=arc-20160816; b=mn1V/xYLYsbPHLGjnLvtPHPf5y4eC/pfV7hggddzwmY6cdVKu9q8uwgw0/qLUJykhB fVi/Bs3CtQMoH9IHrJ5DMFJnV1SwKvccZYH7XceaNR6hQ2D5nVk4wgqY+DTqd4Mto12r RtfTBoQQCByerQ82irRFceG2Osz4f351f+n632kbJ+W66V7cKLihfi0VHFdMKid/5n/3 HqL85reNZoC5PMvFAlinr7CZLLNVWxXQk24VqGZfIx+hbSu9583yEPrzm6YiVIQAxfw3 nnbZo92tTjHiE1lSoZvQ9aqYySJ1Oiv08HedVE5NCpfN9rFYbDs9rsBCkrd5MyI19K7v qD1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:to:from :subject:message-id; bh=HKehOkrTmjt9kQQxMyJYwlnyC3Nseq7YYmzP0oBb/AI=; b=ATS3r9LVf9JvABkAlS10vuoxMmSZze+C7DG370DJBEL6U/oagb4C/AypzyJTq3rSpC JWjpAfx2bHyz6w9uHz61fycKF2Qyr+zfAvAqs3vdtC4W1s97eTki0sVaWSXaz5aQ8g8u s70u7dxy9gtSYcSxXun0Aejx3lDdYubOm2tgW7LqYCxoBoCpVzNjAnwdMl0tSJaC6Rr5 COwN3dmhwXg9ueT8y01if4Rhoy6N4UyUmjTqYSQlgMBz3gIjgKKbtoX2kIdBa3/e0HwW GIDJdZuYd2PVsLddUBpGl1jL0fqLdqerpuPzzSGSRqLPV6x2ITWpyXbPbVk2skjUI1y6 gwNQ== ARC-Authentication-Results: i=1; mx.google.com; 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 r2si909543jak.94.2021.03.04.16.10.59; Thu, 04 Mar 2021 16:11:12 -0800 (PST) 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; 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 S239751AbhCDMBX convert rfc822-to-8bit (ORCPT + 99 others); Thu, 4 Mar 2021 07:01:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239664AbhCDMBT (ORCPT ); Thu, 4 Mar 2021 07:01:19 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04839C06175F for ; Thu, 4 Mar 2021 04:00:39 -0800 (PST) Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lHmeU-0002Qy-MG; Thu, 04 Mar 2021 13:00:22 +0100 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1lHmeP-0005IT-4s; Thu, 04 Mar 2021 13:00:17 +0100 Message-ID: <807b832828d95bc003e7caed63ff86b4f9ff6eaa.camel@pengutronix.de> Subject: Re: [RFC PATCH 5/6] PCI: designware: Add SiFive FU740 PCIe host controller driver From: Philipp Zabel To: Greentime Hu , paul.walmsley@sifive.com, hes@sifive.com, erik.danie@sifive.com, zong.li@sifive.com, bhelgaas@google.com, robh+dt@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu, mturquette@baylibre.com, sboyd@kernel.org, lorenzo.pieralisi@arm.com, alex.dewar90@gmail.com, khilman@baylibre.com, hayashi.kunihiko@socionext.com, vidyas@nvidia.com, jh80.chung@samsung.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Date: Thu, 04 Mar 2021 13:00:17 +0100 In-Reply-To: <34c2c3985443b23a75ce89c605c4b833bbafd134.1614681831.git.greentime.hu@sifive.com> References: <34c2c3985443b23a75ce89c605c4b833bbafd134.1614681831.git.greentime.hu@sifive.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2021-03-02 at 18:59 +0800, Greentime Hu wrote: [...] > +static int fu740_pcie_probe(struct platform_device *pdev) > +{ [...] > + /* Fetch reset */ > + afp->rst = devm_reset_control_get(dev, NULL); Please use afp->rst = devm_reset_control_get_exclusive(dev, NULL); regards Philipp