Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp767461imu; Tue, 20 Nov 2018 06:42:16 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xd0npcY6rgi/tupe/XELQsoR54S97Jlw0HEit+NeErHEg6TEAoUB39sSeCu0Ec4FUf50BK X-Received: by 2002:a63:6906:: with SMTP id e6mr2138194pgc.144.1542724936016; Tue, 20 Nov 2018 06:42:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542724935; cv=none; d=google.com; s=arc-20160816; b=Qmb1ejrHIYPE5C5EaaeCXCBfZCu8KlKYBrHQ3MeQ2IaHE8m63YFpr/2c6Mqg1gEMM7 7mLwPfrv17rZjifwDi1bt4xxavsZQE5wFhyhZKyV+qhkc77auzp/gvKDensjnQDU6/YK XiBLjsi7Npw4x/VcH56NRlih7dj1yAq5FdrkWJ49k5vpq8K3dAiSCZevNz4x0s37Zjax P4BK4p+GNvXKSm15+wYzl7rZqdNo3IkRRErBD2bprBrK90XFNTp+nXPEa6copXB5Nb5s LlSskSrPCoyK9yMAqt+hDGDzJGvVDj+5GjtBKs2mGDkrLB3N3STEzgF9ZtPT4lwdHbV0 MVfg== 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=GPDRB/jy2sw5Enrsttw2BstRHBcMrk1v2rIKmnbZaFw=; b=CYC3PY9Zn/+vrzP97tIGt8AnuBsUh+ORMO43WcgZMaP844wTfTXS9GplJCIClgMQEe WcTY3SkvdYb9gd4aBaOhB9Lre/Nyi85KlQmiT32Wg3OFsKtUftZBhjstBzExBG3+J2rX vLj6nc1LjJPQAAQg/YteFMbFudeIdA/JaJpw2wwBF3EUzYcG1BgjLk6YtXTUR0qZCx76 2EJd1lLQFeqiL8ZOT4NBy02qfB2TMdUfkgEY24KxRQ5vZXr4lsVU9sO6kSlHTtUFYawz u89MwJy3m6hVsvT49SPtKv5oB+m6f1ZNV6i9lIsz4pX9AIkjSDNr1VFJaXJWxB50yNlO g03Q== 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 u13si21558562plq.268.2018.11.20.06.41.59; Tue, 20 Nov 2018 06:42:15 -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 S1728735AbeKTVVz (ORCPT + 99 others); Tue, 20 Nov 2018 16:21:55 -0500 Received: from foss.arm.com ([217.140.101.70]:46796 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726398AbeKTVVz (ORCPT ); Tue, 20 Nov 2018 16:21:55 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3E1AF80D; Tue, 20 Nov 2018 02:53:24 -0800 (PST) Received: from e107981-ln.cambridge.arm.com (e107981-ln.cambridge.arm.com [10.1.197.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DC56A3F575; Tue, 20 Nov 2018 02:53:22 -0800 (PST) Date: Tue, 20 Nov 2018 10:53:17 +0000 From: Lorenzo Pieralisi To: "Z.q. Hou" Cc: "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bhelgaas@google.com" , Roy Zang , "M.h. Lian" , "stable@vger.kernel.org" Subject: Re: [PATCHv2] PCI/Layerscape: fix wrongly invoking of outbound window disable accessor Message-ID: <20181120105317.GA19867@e107981-ln.cambridge.arm.com> References: <20181107051647.12242-1-Zhiqiang.Hou@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181107051647.12242-1-Zhiqiang.Hou@nxp.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 07, 2018 at 05:16:49AM +0000, Z.q. Hou wrote: > From: Hou Zhiqiang > > The order of parameters is not correct when invoking the outbound > window disable routine. > > Fixes: commit 4a2745d760fac ("PCI: layerscape: Disable outbound > windows configured by bootloader"). > > Cc: stable@vger.kernel.org > Signed-off-by: Hou Zhiqiang > --- > V2: > - Tagged this patch for stable. > - Reworded the commit description. > > drivers/pci/controller/dwc/pci-layerscape.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to pci/controller-fixes for one of the upcoming -rc*. Thanks, Lorenzo > diff --git a/drivers/pci/controller/dwc/pci-layerscape.c b/drivers/pci/controller/dwc/pci-layerscape.c > index 3724d3ef7008..7aa9a82b7ebd 100644 > --- a/drivers/pci/controller/dwc/pci-layerscape.c > +++ b/drivers/pci/controller/dwc/pci-layerscape.c > @@ -88,7 +88,7 @@ static void ls_pcie_disable_outbound_atus(struct ls_pcie *pcie) > int i; > > for (i = 0; i < PCIE_IATU_NUM; i++) > - dw_pcie_disable_atu(pcie->pci, DW_PCIE_REGION_OUTBOUND, i); > + dw_pcie_disable_atu(pcie->pci, i, DW_PCIE_REGION_OUTBOUND); > } > > static int ls1021_pcie_link_up(struct dw_pcie *pci) > -- > 2.17.1 >