From patchwork Wed Jan 27 21:11:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suravee Suthikulpanit X-Patchwork-Id: 8142781 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EC6B9BEEE5 for ; Wed, 27 Jan 2016 21:14:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2200D20220 for ; Wed, 27 Jan 2016 21:14:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2703520125 for ; Wed, 27 Jan 2016 21:14:24 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aOXOY-0003tE-Bw; Wed, 27 Jan 2016 21:12:54 +0000 Received: from mail-bl2on0058.outbound.protection.outlook.com ([65.55.169.58] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aOXOI-0003dk-C0 for linux-arm-kernel@lists.infradead.org; Wed, 27 Jan 2016 21:12:38 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Suravee.Suthikulpanit@amd.com; Received: from ssuthiku-ubuntu-lt.amd.com (165.204.77.1) by BLUPR12MB0434.namprd12.prod.outlook.com (10.162.92.14) with Microsoft SMTP Server (TLS) id 15.1.390.13; Wed, 27 Jan 2016 21:12:14 +0000 From: Suravee Suthikulpanit To: , , , , , Subject: [PATCH 03/13] dtb: amd: Fix DMA ranges in device tree Date: Wed, 27 Jan 2016 15:11:51 -0600 Message-ID: <1453929121-12171-4-git-send-email-Suravee.Suthikulpanit@amd.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1453929121-12171-1-git-send-email-Suravee.Suthikulpanit@amd.com> References: <1453929121-12171-1-git-send-email-Suravee.Suthikulpanit@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: BLUPR11CA0006.namprd11.prod.outlook.com (10.141.240.16) To BLUPR12MB0434.namprd12.prod.outlook.com (25.162.92.14) X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0434; 2:b+nDrsyHbrKor+M4pO9skiwbLNZfUZpNsCZnspFTw4msIhtCcxbYeNDZ8UzXEGVBfDjOetyUNWAXFZcoScX+4IgI2XMqs8t5t14cWCEzytWyCzVLgXvghMiwcTwXEsRV8wMbD4me3ZukFjMEFq9+Kw==; 3:IFGlNePqFFouhQ0Fi3IZPaOgB3dcZTfvC3gYT439A+zY1z8F//QTH/s+teMdE8/RM3BxS4IikTV8Bs4q33JxvPFsNb3QJssBUjshtetLAExf6tzf9287ah+vehgKgDnH; 25:tmoaq1O7lC1tlAuQxWhlPZXw6fB4OHoLZ7XfLDQtiL8zvOEGT0VEYSVEIO4XFjOI4ALjzpW/BiD8zQTYHGpN++XaWWRtdrP81RjnfprHiUSzkBpO5bVYZVmbHxptdnp6+M8hZi2ARZI2obf+hzGFLF4Zd+kKtCge19lhJiuuCZTYtBc+Vg+eMCLAk1Hqr+58ghmyMI2yUcyOfV20RjNLpQFlzqavQqMkvz3liaaMiDeKVSfZMTxgCQFieTpqKg3F X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR12MB0434; X-MS-Office365-Filtering-Correlation-Id: 38a8569f-b3fd-4f1b-4fb9-08d3275e882b X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0434; 20:ny/Ey0pozZrC+2nGp71Ozxmy4KRZqADrXIVL5Xl3Cs4s38YHHidxyM0Dc7DI0ZmyhT6rKvowOn5pQTlkwqW29DBydwM5AnOhiNoseF0J2DfcO+7+gWAIxPYd/gwWsR5FYHLpIMAGRcnsisEnyfnLC3Sr0yjUVEVXvrsVJ9w2I/ErI/guRHWRdIWZJGSXATu5eQIfnNQ3zO3WMWilaThr+QBUrCcSVqL+bYLU+XyMuOfV0A818B1zt7PAhFjKTqwIbwm5lskFnfgmtHC8WB+SQUgLAdSAEW5C2Mby1bXxJJFBiD8sgOhOasLe7gx+vqtVbv7PFkF+caHday6KNxeVaeZ/BMBNn0qPL6ym59KJhx1npSbDVoUNXUmg9thiyscA3c4zcpuwiWgNXxHfgbsLANMy/6JMtza1VXnUgYMOwfrLMYhxmArEZaaXi9yR+aQROhAjeReNO0ZQ3XNhrPDGYFJJv7xLe3dkRqLo2rGqqSMDJkALM8EGJtLgWFK3euDc; 4:LzbyaXbW28R6zg1i3KP1eYBRAr6WqJBqMJWZivCptV/hzfmhIMXsT3LMViW33lYcJcOnwbUM/E4yVkjLpUICY+OZGiLhtDkuaM+sUtDqLNM7c5U2rOGep5ws/hmmSymb/J8gJVD+bHBWOLtrOPp+YletqeRDnbuH4RXK4kubzd5dRJtsaPMFqfqA3TGYhjYpaFjhP/FD2neiJ5Vy54+xo9vxjmZoZMdR5I2VHuVQYugx4p1XI9zeqNFxPmMyd2FiqM/Ksw2TD28fcsFnPodJaE+dL1BpnhmjKUiR08A3KA/hSTJJSTMbLhIEBm0mCIs5Z3eqvVgTOkqTBVReAuquej85E7fYfWeR6udQhuoqjrJY9QkZVO40inxGulpNFSV1QMJuHMifg7MEFci/f+zvUAgJXxbVBamqK+5Z7AR4ETU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:BLUPR12MB0434; BCL:0; PCL:0; RULEID:; SRVR:BLUPR12MB0434; X-Forefront-PRVS: 0834BAF534 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(189002)(199003)(47776003)(97736004)(53416004)(5001770100001)(101416001)(586003)(48376002)(5008740100001)(5004730100002)(122386002)(42186005)(6116002)(3846002)(105586002)(50466002)(19580395003)(3470700001)(189998001)(19580405001)(1096002)(77096005)(66066001)(87976001)(106356001)(36756003)(575784001)(2950100001)(50986999)(86362001)(229853001)(76176999)(40100003)(5003940100001)(4326007)(2906002)(50226001)(92566002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR12MB0434; H:ssuthiku-ubuntu-lt.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR12MB0434; 23:sdWZRYtK37lyzu9XDsbvIZpNIfNL8RXQFxPT3XZre?= =?us-ascii?Q?ayE82is7R5N+0TW0x3AmTaBug3Rw4/IqH/RAxRPsV+4pIc9BwL993veuaGcC?= =?us-ascii?Q?CazA991q6Hbh2eDIp3DEHM29VNrCFOtxvZJ9uCODBfIdiRU7h7yYZJzzuC+W?= =?us-ascii?Q?u993nfRDl5BFROfSdywbRFOFTqITCo4+bfPUSIsLrJ8qJpYh9+en+n85P0Dx?= =?us-ascii?Q?tVari4EoFHvyAm65kt2Cy73NduaA4zxo4SInaYSJTO1H3Ko9vJdBQsDmZJZS?= =?us-ascii?Q?LbUvv8QK2wTyeALo24ZZw0XIym5s/rzd/R3dEY2OkT0sqWQmtEOR2LpXTiai?= =?us-ascii?Q?20FBxdE5LKLq1rDMx1TC3TCh7p4TlticqI0eP1bgJaRY7z51nsqqrHITkrZ/?= =?us-ascii?Q?G+YaQ/Ne7N8O1/TFNQ2TQHPSDiQKRVZ1kby84DcnJNBWNiDB47l1MHHl9rmh?= =?us-ascii?Q?VYC/dA6lyq4+xmay18kN2yUKhbNyJt+LX2z2J7W5O5c1dmo0SW7xoU3CnKBp?= =?us-ascii?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POawggbT+UpofUc1FAB8tfdSp5vTQLMoRlARznoKjKoydCLywxVrqSnutwVRr4A/ySj1h4v27R/WmJ6pmLqkjS40fOGBa44BqKSa/U7PKT0S92Fp0XHgo2YI9zGuBJaiPSbBTYNtQS30OsCcM/Fqja6H X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jan 2016 21:12:14.6976 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR12MB0434 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160127_131238_510418_FD805EBE X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, brijeshkumar.singh@amd.com, thomas.lendacky@amd.com, linux-kernel@vger.kernel.org, arm@kernel.org, leo.duran@amd.com, Suravee Suthikulpanit , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Suravee Suthikulpanit Fix DMA ranges of smb0 and pcie0 nodes in AMD Seattle SOC. Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi index fdd0c96..5c73117 100644 --- a/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi +++ b/arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi @@ -55,8 +55,12 @@ #size-cells = <2>; ranges; - /* DDR range is 40-bit addressing */ - dma-ranges = <0x80 0x0 0x80 0x0 0x7f 0xffffffff>; + /* + * dma-ranges is 40-bit address space containing: + * - GICv2m MSI register is at 0xe0080000 + * - DRAM range [0x8000000000 to 0xffffffffff] + */ + dma-ranges = <0x0 0x0 0x0 0x0 0x100 0x0>; /include/ "amd-seattle-clks.dtsi" @@ -159,7 +163,7 @@ <0x1000 0x0 0x0 0x4 &gic0 0x0 0x0 0x0 0x123 0x1>; dma-coherent; - dma-ranges = <0x43000000 0x80 0x0 0x80 0x0 0x7f 0xffffffff>; + dma-ranges = <0x43000000 0x0 0x0 0x0 0x0 0x100 0x0>; ranges = /* I/O Memory (size=64K) */ <0x01000000 0x00 0x00000000 0x00 0xefff0000 0x00 0x00010000>,