From patchwork Thu Aug 14 15:51:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dinguyen@opensource.altera.com X-Patchwork-Id: 4724681 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7CBC4C0338 for ; Thu, 14 Aug 2014 15:57:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A633C201DE for ; Thu, 14 Aug 2014 15:57:53 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C7601201BC for ; Thu, 14 Aug 2014 15:57:52 +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 1XHxNw-0001V9-SW; Thu, 14 Aug 2014 15:56:16 +0000 Received: from mail-bl2lp0211.outbound.protection.outlook.com ([207.46.163.211] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XHxNe-0001Dv-Of for linux-arm-kernel@lists.infradead.org; Thu, 14 Aug 2014 15:55:59 +0000 Received: from linux-builds1.altera.com (64.129.157.38) by CY1PR0301MB1195.namprd03.prod.outlook.com (25.160.165.26) with Microsoft SMTP Server (TLS) id 15.0.1005.10; Thu, 14 Aug 2014 15:55:36 +0000 From: To: , , , , , Subject: [PATCH 3/3] ARM: dts: socfpga: memreserve first 4KB for SMP code Date: Thu, 14 Aug 2014 10:51:31 -0500 Message-ID: <1408031491-15609-4-git-send-email-dinguyen@opensource.altera.com> X-Mailer: git-send-email 2.0.3 In-Reply-To: <1408031491-15609-1-git-send-email-dinguyen@opensource.altera.com> References: <1408031491-15609-1-git-send-email-dinguyen@opensource.altera.com> MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: CO1PR06CA034.namprd06.prod.outlook.com (10.242.160.24) To CY1PR0301MB1195.namprd03.prod.outlook.com (25.160.165.26) X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 03030B9493 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009004)(979002)(6009001)(189002)(199003)(19580405001)(77096002)(77982001)(86362001)(104166001)(47776003)(69596002)(64706001)(81542001)(95666004)(83322001)(92566001)(83072002)(88136002)(86152002)(19580395003)(33646002)(20776003)(92726001)(87976001)(105586002)(89996001)(53416004)(2201001)(101416001)(50466002)(48376002)(81342001)(74662001)(79102001)(50226001)(93916002)(99396002)(42186005)(87286001)(21056001)(4396001)(102836001)(107046002)(85306004)(74502001)(76176999)(62966002)(50986999)(81156004)(77156001)(85852003)(31966008)(229853001)(76482001)(46102001)(106356001)(80022001)(66066001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB1195; H:linux-builds1.altera.com; FPR:; MLV:ovrnspm; PTR:InfoNoRecords; MX:1; A:0; LANG:en; Received-SPF: None (protection.outlook.com: opensource.altera.com does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=dinguyen@opensource.altera.com; X-OriginatorOrg: opensource.altera.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140814_085558_921975_DEA4F02C X-CRM114-Status: UNSURE ( 7.70 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.4 (-) Cc: devicetree@vger.kernel.org, atull@opensource.altera.com, tthayer@opensource.altera.com, Dinh Nguyen , vbridger@opensource.altera.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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: Dinh Nguyen The SOCFPGA's SMP code uses 0x0 for as the location for the trampoline to bring secondary cores online. This patch adds a /memreserve/ section to reserve the first 4K for the SMP trampoline code. Signed-off-by: Dinh Nguyen --- arch/arm/boot/dts/socfpga_arria5.dtsi | 1 + arch/arm/boot/dts/socfpga_cyclone5.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/socfpga_arria5.dtsi b/arch/arm/boot/dts/socfpga_arria5.dtsi index 468fc4c..73b939e 100644 --- a/arch/arm/boot/dts/socfpga_arria5.dtsi +++ b/arch/arm/boot/dts/socfpga_arria5.dtsi @@ -15,6 +15,7 @@ */ /dts-v1/; +/memreserve/ 0x00000000 0x0001000; #include "socfpga.dtsi" / { diff --git a/arch/arm/boot/dts/socfpga_cyclone5.dtsi b/arch/arm/boot/dts/socfpga_cyclone5.dtsi index 33cad8b..f0785f0 100644 --- a/arch/arm/boot/dts/socfpga_cyclone5.dtsi +++ b/arch/arm/boot/dts/socfpga_cyclone5.dtsi @@ -16,6 +16,7 @@ */ /dts-v1/; +/memreserve/ 0x00000000 0x0001000; #include "socfpga.dtsi" / {