Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp859935ybl; Fri, 10 Jan 2020 07:56:36 -0800 (PST) X-Google-Smtp-Source: APXvYqyA5ZDTw4qmL0kMsma9kz5iVxwhYFiQdBf/3ijQxFgTNuzrfSZF6KOGSja8fThC56NxMP5C X-Received: by 2002:a9d:62c7:: with SMTP id z7mr3053449otk.189.1578671795844; Fri, 10 Jan 2020 07:56:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578671795; cv=none; d=google.com; s=arc-20160816; b=hjzxayzO/bZGLuajc2MyR+xl/5MogpRzFTxJF5MBUp5a91kkFygEA8mCqRl6lcjTaY fNGA7DA7wM0DlbWkLCs3vXcHa8N7BYpBvvEwSI6uS6Q+P1brPj8kM6cnR1Bu3OpI7t6c R9IsnJr1qWbeoH0T1RfNVnoA2W18ymXjb1lYreLQpMku8cLq3E9C7DV1xFraHmfjlLhj w9fo/CtTfAIJDTI/GHA0amWg0J7cMrdAOWCo07FiOONZ/ozN3ELyicAmD8q0xFHkrTmH bBAyMxG6C0X4+REMqoukv4ZL3L9zbDykuUgB90yCJsm5VJZJtxizVZAmGpEYV6BCUTvV qcGQ== 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=eAbvj9sIhgGbiE4O783jCk+bbDJlvTH943FiUtPk5lI=; b=No6zG4iy3aLtldnfa44ctMNTAhBxn7cl1gkKSXD6tTL2OzsybhinrLAsYDKGjcqaLB cXmvrkKTz/OU4Qvqz2CFW6+tZyj8xxhdiMPO7bAg8MBxtD1CWBbsuiDjI4//BTCG2Qoz BtV8pLZ/LSCnvQHp4CDjyvLSMhpxwi0zmzZ7Cixj3cCiGchQG7uPiVY3XltFpdiJn5iT NSdz6cQqjX7Fj1ZNmfSEGWZsj2SZdCjllzX11DA/XubNCOCRfCdTk+9MGXR19in8q0tU gAY6RtXjq/BSuuQfd6559r6ST2LzFVp3HwipfRUbB16McdvpY5oWQeentVOAehdUTUEs NNsA== 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 c10si1996822otj.260.2020.01.10.07.56.24; Fri, 10 Jan 2020 07:56:35 -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 S1728397AbgAJPzY (ORCPT + 99 others); Fri, 10 Jan 2020 10:55:24 -0500 Received: from foss.arm.com ([217.140.110.172]:47340 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728183AbgAJPzY (ORCPT ); Fri, 10 Jan 2020 10:55:24 -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 9CFD330E; Fri, 10 Jan 2020 07:55:23 -0800 (PST) Received: from e121166-lin.cambridge.arm.com (e121166-lin.cambridge.arm.com [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4E4183F6C4; Fri, 10 Jan 2020 07:55:22 -0800 (PST) Date: Fri, 10 Jan 2020 15:55:20 +0000 From: Lorenzo Pieralisi To: Marcel Ziswiler Cc: Thierry Reding , linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-pci@vger.kernel.org, Manikanta Maddireddy , Thierry Reding , Andrew Murray , Bjorn Helgaas , Jonathan Hunter Subject: Re: [PATCH v2] PCI: tegra: Fix afi_pex2_ctrl reg offset for Tegra30 Message-ID: <20200110155519.GB29372@e121166-lin.cambridge.arm.com> References: <20200107081402.213149-1-marcel@ziswiler.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200107081402.213149-1-marcel@ziswiler.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 07, 2020 at 09:14:02AM +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. This fixes the AFI_PEX2_CTRL > reg offset being uninitialised subsequently failing to bring up the > third PCIe port. > > Fixes: adb2653b3d2e ("PCI: tegra: Add AFI_PEX2_CTRL reg offset as part of SoC struct") > > Signed-off-by: Marcel Ziswiler > Acked-by: Thierry Reding > > --- > > Changes in v2: > - Fix recipient list concerning CC: and To: lines as suggested by > Thierry. > - Fix subject line and commit message to adhere to standard formatting > rules as suggested by Thierry. > - Add Thierry's Acked-by tag. > - Add standard Fixes tag as suggested by Andrew. > > drivers/pci/controller/pci-tegra.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to pci/tegra, thanks. Lorenzo > 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 >