From patchwork Thu Jul 20 12:17:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 9854779 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2F46B600F5 for ; Thu, 20 Jul 2017 12:19:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CB6728765 for ; Thu, 20 Jul 2017 12:19:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E23D2877A; Thu, 20 Jul 2017 12:19:55 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7B72228765 for ; Thu, 20 Jul 2017 12:19:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=dZAz1ph0eJ4oG5Lz0xgtw5jbscAxKSET3+oEiFyD4Mo=; b=PHBXHhPa8WVDAQ2jZoUvvARKNO oed9kI73VCcDyUHsbQD5K475INGkAjvUHzdYC2TH+WqOJ2acEigD6MzMhxNp9Ufo4Y9tNglYW3Um0 UtR7ar7dIMrEQvdKQSt8ft6onBODFRdSekP3K1tuIqWTesJimy5j/xaAdP1AxOU6HC3hmZ6EqtgHU G5fNFRZRZBmUjkfvH2uQcyRxK4zXJHe85xirIdvLivAO53oOcfthkcD0N1BNm+pZEbps5kblaqGEC P6QO2Ps9X7NgkM072M0JFEOia8qOgUzw+28cWQ5N0PTfCyDoGJAb8+VKc4IFRn5P3OSHnLvfRdfBq AsHdEjpg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dYAQq-00032K-0T; Thu, 20 Jul 2017 12:19:52 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dYAOt-0001F4-86 for linux-arm-kernel@lists.infradead.org; Thu, 20 Jul 2017 12:17:59 +0000 Received: by mail-wm0-x241.google.com with SMTP id 184so755326wmo.3 for ; Thu, 20 Jul 2017 05:17:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=sLYg4CpNb2E8ZjqNxrrWwRfh2ytn0qUIt+ThiD396Pk=; b=EhMxKrKGJDoVUlwp3oLcUob7FMePv+HhMv9U2ZY8crdAiRxwoHSigXs6WGuZ1YdXi9 WONpia2k1axAUFspm5vbeOvuVAvaiYxNyQcWlZswV+04TnabPLnwMboai72Gk9e12hbn mwHgOdPHRtUzERCxkb8bkMiABYf3wd8U4/9a3h+t1xuZ5S/mgjqXjH09HM9a9QzB+xIl qxeEH5ImVDZCr8kK9gukeYRDXDUGb9GzNCnggfZ1ATaZKGeJS8msA6WJxyCCVGCazrI9 rNHbK/vQ5BUiWvWTgArTUfaUSZi/z1AiuO9pd4Dbpi11RxutSIXIjVjmLkr1O6WG4dsB kfMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=sLYg4CpNb2E8ZjqNxrrWwRfh2ytn0qUIt+ThiD396Pk=; b=DY9qeGTxqA6z0RAl1slbNM/Z/SnKn36QRraOjT01CqgUfTWAid6gfF/4GT/7fhguYB VZzxhd0VX/IorO5EyMTbkaBtoj7mTqbcMaPfer309m9XvXUO8bDNiP9Mu4N42kA6cRf2 fpoUHfvCAXne+Y2J6FAuK69JyJEQ26NGMobu1YGrO83mtkqSjhJgQVHLQzvLY/OVn+tB +Pm/cGQIT1102lteq4+pStF0OLCfzZKqTQlCZbfoWUmF0RecA4sz+CwCSBrHRukiKry/ fqUiaJmeS0dg1JpWx2PqyPapG+55hPA4dodeejbJJ3s63sa6SyRwra8pNxQcy1t4hz/X mglA== X-Gm-Message-State: AIVw110Kwz8WAfUFY5cyhQKsfsJ5oPGoJPvJs9JCdjLFv6/gXrQFVJFG waN4SoO4c/J28t8J0Po= X-Received: by 10.28.107.209 with SMTP id a78mr2034623wmi.143.1500553048008; Thu, 20 Jul 2017 05:17:28 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id t14sm5816023wra.44.2017.07.20.05.17.27 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 20 Jul 2017 05:17:27 -0700 (PDT) From: Michal Simek To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 06/10] arm64: zynqmp: Adding prefetchable memory space to pcie node Date: Thu, 20 Jul 2017 14:17:05 +0200 Message-Id: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170720_051751_598400_832CD023 X-CRM114-Status: GOOD ( 10.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Edgar E. Iglesias" , devicetree@vger.kernel.org, monstr@monstr.eu, Stefan Krsmanovic , Bharat Kumar Gogada , Will Deacon , Shubhrajyoti Datta , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Marc Zyngier , Rob Herring , Moritz Fischer , Catalin Marinas , Mark Rutland , =?UTF-8?q?S=C3=B6ren=20Brinkmann?= MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bharat Kumar Gogada Adding prefetchable memory space to pcie device tree node. Shifting configuration space to 64-bit address space. Removing pcie device tree node from amba as it requires size-cells=<2> in order to access 64-bit address space. Signed-off-by: Bharat Kumar Gogada Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index f3968737e613..e7d1815c114b 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -285,12 +285,8 @@ <0x0 0xfd480000 0x0 0x1000>, <0x80 0x00000000 0x0 0x1000000>; reg-names = "breg", "pcireg", "cfg"; - ranges = <0x02000000 0x00000000 0xe0000000 0x00000000 - 0xe0000000 0x00000000 0x10000000 - /* non-prefetchable memory */ - 0x43000000 0x00000006 0x00000000 0x00000006 - 0x00000000 0x00000002 0x00000000>; - /* prefetchable memory */ + ranges = <0x02000000 0x00000000 0xe0000000 0x00000000 0xe0000000 0x00000000 0x10000000 /* non-prefetchable memory */ + 0x43000000 0x00000006 0x00000000 0x00000006 0x00000000 0x00000002 0x00000000>;/* prefetchable memory */ bus-range = <0x00 0xff>; interrupt-map-mask = <0x0 0x0 0x0 0x7>; interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc 0x1>,