Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8100184imu; Tue, 4 Dec 2018 03:01:18 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wt4VXDJWXQKVDG0wW0TiqQVvrRl6pu1cGGJR4ydX8fCyhqPDZ7u7g6XEPllIZPD9avIIw7 X-Received: by 2002:a63:9d05:: with SMTP id i5mr15102735pgd.98.1543921278862; Tue, 04 Dec 2018 03:01:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543921278; cv=none; d=google.com; s=arc-20160816; b=e/0Qkuv/6soFcpqjqnSRKKqcX0ZJhetIZ+P+mTd7dNCBIOYG8R6bI3WEqZY1zuRRHs JoIFAvf7l1tIqd1ehCLKNI5ADZISv9cRoRuSCWOk7tlTg2+u1d5bKm6XYmIUDsEG5B4p j4yeETQoLk9EgrwhucWRZrhPFqy3A4U1J3OiVC1LE+9i7znUitZwhK/aMlHTPV1/WKr9 AjteFDciw8hS0RbINl5QxCTl89DDY86CVzegSphPY6J5VetdDWiAoyUIACUFBLuelAsx jrBxue4Oest81qLpaRFX1lFbNLNVy7LA0G6MEeEq2Ry7fU08aauusayvx9mVJzOuhcnX aWiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=0biLr4fLpY28uu+3OnUG7Y6z1Sk36Q8sVR5MYxfk9nw=; b=MemdkyMdKTP2VZK+cenE81zZ1OPHizgIJ7SDWaPw6MCdRdrbmieDm9Q/mOVrI08pSz ADbF2J34ovlYqWFRIt5yWbfh649alBNLn5pCLG8AaU9BTd1bF1xALr1KNM2CJWrtecWH bKvfz8d5z23biwqvNG4KGLK4K4ImiVG8/DTDVp9BFPPir+bMgp1xyp0A+jUvtUu2LLEP lYpNBDj0uInAokO0tKygIncLCOR/b3/8VKNkX+0vdlMz19jJlMQOn2N36/GPDZ/7PLEz EO23/n7UslTR12WWybVEKvWx0zqUAdHLDHRtIkuQiZCc9dSHhkIkS91efKPLD15VPEFH Iolw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="C2csGMd/"; 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 z31si17649242plb.402.2018.12.04.03.01.03; Tue, 04 Dec 2018 03:01:18 -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; dkim=pass header.i=@kernel.org header.s=default header.b="C2csGMd/"; 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 S1727201AbeLDK7v (ORCPT + 99 others); Tue, 4 Dec 2018 05:59:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:44820 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726541AbeLDK7r (ORCPT ); Tue, 4 Dec 2018 05:59:47 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A9511214D9; Tue, 4 Dec 2018 10:59:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543921187; bh=+qon3sDx99rrMXoRx29FA0e69KBurroIWmKuiJ4bmy8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C2csGMd/2vRz7Tyj3t4lP1eGLMbSD4UokTM6Y7y5/it2Klr7WiV0Aeljbe6eai6t3 kQoLSNurvPVsBXqjzGEngyhEEQpXcztJw4XJBapxohf34w9nLP0dopvMTNu7cVG1Vs IpYTwuNtoOKWXs5Jn5QCcRs88WJLZXeC9Cx1/Eqo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hou Zhiqiang , Lorenzo Pieralisi Subject: [PATCH 4.19 079/139] PCI: layerscape: Fix wrong invocation of outbound window disable accessor Date: Tue, 4 Dec 2018 11:49:20 +0100 Message-Id: <20181204103653.414387867@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181204103649.950154335@linuxfoundation.org> References: <20181204103649.950154335@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hou Zhiqiang commit c6fd6fe9dea44732cdcd970f1130b8cc50ad685a upstream. The order of parameters is not correct when invoking the outbound window disable routine. Fix it. Fixes: 4a2745d760fa ("PCI: layerscape: Disable outbound windows configured by bootloader") Signed-off-by: Hou Zhiqiang [lorenzo.pieralisi@arm.com: commit log] Signed-off-by: Lorenzo Pieralisi Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/pci/controller/dwc/pci-layerscape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- 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_atu 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)