Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp18712520ybl; Fri, 3 Jan 2020 07:39:04 -0800 (PST) X-Google-Smtp-Source: APXvYqx6HkVoXuhHzPGECV07I7JEcUBtbwO7lUTcYmfMmrLNt4cO/aj8P1ezfawAX5NPeb9pBjCx X-Received: by 2002:a9d:6456:: with SMTP id m22mr74464866otl.81.1578065944413; Fri, 03 Jan 2020 07:39:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578065944; cv=none; d=google.com; s=arc-20160816; b=zcIw0cLmHYbaDiK3e5Dbyt9QiUtkAslIqBcoeP2QjIcsf5sF5B2GdCYycLequa84J6 m+kj3vDzcWnL4Lq1zIO0V8gSNMWH8e/Z3aizWqIZ224Gsy22vQw7ZIHNNzyXOeQ5zc4x dE8gTQomdmGm/X87ePv8N7QYt8VIozMw3rqjVwffc2qdrNBxV8EXSdEGgN9v5zG16eoB 1IUG1P5ou4PL0gdRb6vRPKoB+jYkQlHQErZkJPebzIxSmrg75Ub9RfU9Q9WSFlduS3Ck O3sL+7nauiUjlNyyk0MXtCybJpPT0h4fSW7XfL9649dpVVGVpIRrwrW2tttr+XOd/qKk 34VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=iUS27DklbGPtoGmKWg2d12g+/LF1cn7jmafYsr1vepo=; b=dadOypRoeKn4gAXkbzPIV4NijZ+2gnhrWWH0wxGO6CrR5sJsKarwoFlUsf1vlS4ww/ 5A25kBOCw/3KblvR76ib2vaj2lc72ky+aH0KoP3INL8Wm0syYt1rnXqKr4ao7F86bLXv PAVNSZhmcTI2Do2swEQHqdI2e282y3tuRciLEsijen6SrF66q5sRMd9LBJJTcbz4HZP+ 4yBK3wJmTo36zKmwtMLNcDuKeKf/h+uZ1sluWf64Dp/ufRXVFSQk68ibkObGuECTOfro jYetnROrewKhG0+Lg0lIAOGg3dDgM0lzHSm6i8uDmeIPV7WJola3GIU3q39pxSYjUDFi 8k/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f17si27704774otl.181.2020.01.03.07.38.49; Fri, 03 Jan 2020 07:39:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727948AbgACPBd (ORCPT + 99 others); Fri, 3 Jan 2020 10:01:33 -0500 Received: from foss.arm.com ([217.140.110.172]:56064 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbgACPBd (ORCPT ); Fri, 3 Jan 2020 10:01:33 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AE544DA7; Fri, 3 Jan 2020 07:01:32 -0800 (PST) Received: from localhost (unknown [10.37.6.20]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 22DE43F534; Fri, 3 Jan 2020 07:01:31 -0800 (PST) Date: Fri, 3 Jan 2020 15:01:30 +0000 From: Andrew Murray To: Thierry Reding Cc: Marcel Ziswiler , linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Manikanta Maddireddy , Bjorn Helgaas , Jonathan Hunter , Lorenzo Pieralisi , Thierry Reding , linux-pci@vger.kernel.org Subject: Re: [PATCH v1] pci: tegra: fix afi_pex2_ctrl reg offset for tegra30 Message-ID: <20200103150129.GR42593@e119886-lin.cambridge.arm.com> References: <20191230005209.1546434-1-marcel@ziswiler.com> <20200102123822.GA1924669@ulmo> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200102123822.GA1924669@ulmo> User-Agent: Mutt/1.10.1+81 (426a6c1) (2018-08-26) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 02, 2020 at 01:38:22PM +0100, Thierry Reding wrote: > On Mon, Dec 30, 2019 at 01:52:09AM +0100, Marcel Ziswiler wrote: > > Fix AFI_PEX2_CTRL reg offset for tegra30 by moving it from the tegra20 > > SoC struct where it erroneously got added by commit adb2653b3d2e > > ("PCI: tegra: Add AFI_PEX2_CTRL reg offset as part of SoC struct"). > > This fixes the AFI_PEX2_CTRL reg offset being uninitialised > > subsequently failing to bring up the third PCIe port. > > > > Signed-off-by: Marcel Ziswiler > > > > --- > > > > drivers/pci/controller/pci-tegra.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Hi Marcel, > > the recipient list looks somewhat odd. Mailing lists typically go into > the Cc: line and subsystem maintainers into the To: line. That way you > increase chances of people's filters catching important emails. > > You may also want to fix up the subject line to use the more standard > "PCI: tegra: " prefix. Also, maybe capitalize "fix" -> "Fix" to match > standard formatting rules for commit messages. In the subject and the > commit message, also, please spell "tegra20" and "tegra30" as "Tegra20" > and "Tegra30", which can help when searching logs. > > With the above fixed, this looks good, so: > > Acked-by: Thierry Reding Also can you please add the following tag: Fixes: adb2653b3d2e ("PCI: tegra: Add AFI_PEX2_CTRL reg offset as part of SoC struct") Thanks, Andrew Murray > > > > > diff --git a/drivers/pci/controller/pci-tegra.c b/drivers/pci/controller/pci-tegra.c > > index 090b632965e2..ac93f5a0398e 100644 > > --- a/drivers/pci/controller/pci-tegra.c > > +++ b/drivers/pci/controller/pci-tegra.c > > @@ -2499,7 +2499,6 @@ static const struct tegra_pcie_soc tegra20_pcie = { > > .num_ports = 2, > > .ports = tegra20_pcie_ports, > > .msi_base_shift = 0, > > - .afi_pex2_ctrl = 0x128, > > .pads_pll_ctl = PADS_PLL_CTL_TEGRA20, > > .tx_ref_sel = PADS_PLL_CTL_TXCLKREF_DIV10, > > .pads_refclk_cfg0 = 0xfa5cfa5c, > > @@ -2528,6 +2527,7 @@ static const struct tegra_pcie_soc tegra30_pcie = { > > .num_ports = 3, > > .ports = tegra30_pcie_ports, > > .msi_base_shift = 8, > > + .afi_pex2_ctrl = 0x128, > > .pads_pll_ctl = PADS_PLL_CTL_TEGRA30, > > .tx_ref_sel = PADS_PLL_CTL_TXCLKREF_BUF_EN, > > .pads_refclk_cfg0 = 0xfa5cfa5c, > > -- > > 2.24.1 > >