From patchwork Tue Feb 26 00:12:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 10829315 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A843015AC for ; Tue, 26 Feb 2019 00:12:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 837322B95E for ; Tue, 26 Feb 2019 00:12:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 74F772B990; Tue, 26 Feb 2019 00:12:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F27522B95E for ; Tue, 26 Feb 2019 00:12:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729185AbfBZAMG (ORCPT ); Mon, 25 Feb 2019 19:12:06 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:53109 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728530AbfBZAMG (ORCPT ); Mon, 25 Feb 2019 19:12:06 -0500 Received: by mail-wm1-f65.google.com with SMTP id m1so672620wml.2; Mon, 25 Feb 2019 16:12:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MvM5VDUeBIXgb0fhiK4lqV0vhFD2TWjvRzdXWoyoag4=; b=Q7UscgsdLxGW8iIRbtYCFZkseHg7LYEcTuDTrFeUIBrm24c597+Wsi+NWdoAMAp5he W2raOPHd+U7krZ1Rl0A/Nl6GQDAqGnJoxQfJjFDDP4NWIu6UjJgyMlK/G0Ba8lO6Jq9M mTfMCU6NIPxrQ7U5JXNsxlJ3uggk4cJOS0l83hwmmsKZ+e5SZhckxrNs8NANcoOnNavH LSKEZKAGP69UBx6JWXGZCdnwTAkQVeNZHsXrpsb433w3lQA/1ftRKDWJ9+rixk1i84yT BJmR65LeoCRtMjV/5UGLks2Jq92gnKxBbRCWLoQhNVt8uzJjWYjip68ssWnIAgJGNr+h L2hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MvM5VDUeBIXgb0fhiK4lqV0vhFD2TWjvRzdXWoyoag4=; b=RkN/w/kx3qOyBVMYRQswst63KGszjHKpzgInkYhtqd7u3adQs/TC9nnT1y0wA0irTz iiLujlM6mJ9C/InXcEy9aR5oz/HFK/tD94g07KyIKjLZbaSaYgUxWTWSAVZnMAP6QMgC 5OB508eSfoC/hLJVb5JBVZjbXAzUbc6zAYLY4YAzg+lNWFODUoBMFm9rDS3Jxb+EzSPf j9gvyleBUcBAS5OmTkHlqhoQD9L7MopbGEpt14u3yswYObyOxuFige7bnIYsJlqEQ/n/ h/d7m7AE3zHZr39UjJOQ2Kijw+Fy+OmQc2JN0axUuT5jpcpowgQCRUovHJOSnKIwHqF2 CxkQ== X-Gm-Message-State: AHQUAuaJhDAARgxvzv4VZTCNDW06W8y5/J3PgaS0H2CiMs/i6sBlVc52 7/Qo74HtMmkgxRQjh2tigqbxwNxz X-Google-Smtp-Source: AHgI3IZ2vomoRaxdiDjQMLRSuidmqy9v/HW9WolI0QVYqUnDv7KtXxH9gOxU6NLAtSxHh/JPYAWuCQ== X-Received: by 2002:a1c:a58c:: with SMTP id o134mr717834wme.79.1551139923040; Mon, 25 Feb 2019 16:12:03 -0800 (PST) Received: from debian64.daheim (p4FD09E26.dip0.t-ipconnect.de. [79.208.158.38]) by smtp.gmail.com with ESMTPSA id d15sm23020825wrw.36.2019.02.25.16.12.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Feb 2019 16:12:02 -0800 (PST) Received: from chuck by debian64.daheim with local (Exim 4.92) (envelope-from ) id 1gyQLp-00067J-GH; Tue, 26 Feb 2019 01:12:01 +0100 From: Christian Lamparter To: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org, Mark Rutland , Rob Herring , David Brown , Andy Gross Subject: [PATCH] ARM: dts: qcom: ipq4019: enlarge PCIe BAR range Date: Tue, 26 Feb 2019 01:12:01 +0100 Message-Id: <20190226001201.23456-1-chunkeey@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP David Bauer reported that the VDSL modem (attached via PCIe) on his AVM Fritz!Box 7530 was complaining about not having enough space in the BAR. A closer inspection of the old qcom-ipq40xx.dtsi pulled from the GL-iNet repository listed: | qcom,pcie@80000 { | compatible = "qcom,msm_pcie"; | reg = <0x80000 0x2000>, | <0x99000 0x800>, | <0x40000000 0xf1d>, | <0x40000f20 0xa8>, | <0x40100000 0x1000>, | <0x40200000 0x100000>, | <0x40300000 0xd00000>; | reg-names = "parf", "phy", "dm_core", "elbi", | "conf", "io", "bars"; Matching the reg-names with the listed reg leads to <0xd00000> as the size for the "bars". Cc: stable@vger.kernel.org BugLink: https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg45212.html Reported-by: David Bauer Signed-off-by: Christian Lamparter --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index 78b24385b269..5578e3aa9f84 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -395,8 +395,8 @@ #address-cells = <3>; #size-cells = <2>; - ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000 - 0x82000000 0 0x40300000 0x40300000 0 0x400000>; + ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000>, + <0x82000000 0 0x40300000 0x40300000 0 0x00d00000>; interrupts = ; interrupt-names = "msi";