Message ID | 1376924669-28873-5-git-send-email-m.szyprowski@samsung.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDG6PF6SSYDRBQ7IZCIAKGQEWXB6G3Q@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gh0-f200.google.com (mail-gh0-f200.google.com [209.85.160.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7971E246F8 for <linaro@patches.linaro.org>; Mon, 19 Aug 2013 15:05:39 +0000 (UTC) Received: by mail-gh0-f200.google.com with SMTP id 10sf4666163ghy.11 for <linaro@patches.linaro.org>; Mon, 19 Aug 2013 08:05:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=Wvzk761Pv9d6qA1WK5rc2YyyA8elqoCvTtU/xTFCEzM=; b=XfmqfNNl6Ba+tn7B1fl0k0duejEFXPSdHybS0vXy0wLiv+FMZSy7HR7gS0t8Drp7On NMoRzAnRuzZwxOS47e/gjyCGZ3xcsHT68ESrAHUGQUx+WDrpt9IQs2K/vzyr/K8V2nG9 DmNNsCw9uGgixV4q9+slm9Xx7HkHMCzfoDclQiTnJ1ehIx4MfsZgpBxqylKQ6RDW2ALP HwNBPxgdZsMqxD8R1+bClJfO1yX8HZfp3MQR2D5aV6btUW8uNRaJJhXxYeQpZXBNAK3n KVQVrpPZqW6Jd96J9zcJzfSFzCkmfQjDHlFtDRV9VES72hJU907LgbFQx0J1Cv/3Awpq 3ecg== X-Received: by 10.58.40.105 with SMTP id w9mr986371vek.21.1376924739263; Mon, 19 Aug 2013 08:05:39 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.97.199 with SMTP id ec7ls543933qeb.26.gmail; Mon, 19 Aug 2013 08:05:39 -0700 (PDT) X-Received: by 10.58.237.105 with SMTP id vb9mr13659894vec.2.1376924739141; Mon, 19 Aug 2013 08:05:39 -0700 (PDT) Received: from mail-vb0-f44.google.com (mail-vb0-f44.google.com [209.85.212.44]) by mx.google.com with ESMTPS id ix2si2451734vdb.46.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 Aug 2013 08:05:39 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.44 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.44; Received: by mail-vb0-f44.google.com with SMTP id e13so3363289vbg.3 for <patchwork-forward@linaro.org>; Mon, 19 Aug 2013 08:05:39 -0700 (PDT) X-Gm-Message-State: ALoCoQnhiKXgZ6tHmrTS6kmNOpWFVjbIBC5sC7a3I8H3OgGrU8APmiW9jY4HoZ/WiLCAJEjHBORz X-Received: by 10.58.217.167 with SMTP id oz7mr13939100vec.15.1376924739053; Mon, 19 Aug 2013 08:05:39 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp101210vcz; Mon, 19 Aug 2013 08:05:38 -0700 (PDT) X-Received: by 10.14.184.3 with SMTP id r3mr5441508eem.49.1376924738017; Mon, 19 Aug 2013 08:05:38 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id f3si1399755eet.209.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 19 Aug 2013 08:05:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from <linaro-mm-sig-bounces@lists.linaro.org>) id 1VBR0n-0002Pp-QA; Mon, 19 Aug 2013 15:04:53 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from <m.szyprowski@samsung.com>) id 1VBR0m-0002PI-Cj for linaro-mm-sig@lists.linaro.org; Mon, 19 Aug 2013 15:04:52 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MRS007AS9WSR1A0@mailout4.samsung.com> for linaro-mm-sig@lists.linaro.org; Tue, 20 Aug 2013 00:05:19 +0900 (KST) X-AuditID: cbfee61b-b7efe6d000007b11-cd-5212342f3978 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 5C.C5.31505.F2432125; Tue, 20 Aug 2013 00:05:19 +0900 (KST) Received: from localhost.localdomain ([106.116.147.30]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MRS004QS9VPKP20@mmp2.samsung.com>; Tue, 20 Aug 2013 00:05:19 +0900 (KST) From: Marek Szyprowski <m.szyprowski@samsung.com> To: linux-arm-kernel@lists.infradead.org, linaro-mm-sig@lists.linaro.org, devicetree@vger.kernel.org Date: Mon, 19 Aug 2013 17:04:29 +0200 Message-id: <1376924669-28873-5-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1376924669-28873-1-git-send-email-m.szyprowski@samsung.com> References: <1376924669-28873-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpnkeLIzCtJLcpLzFFi42I5/e+xoK6+iVCQwY2LwhZ/Jx1jt5h/5Byr Rf+bhawWr85sZLN409vBYnG26Q27xfbOGewWX648ZLLY9Pgaq8XaI3fZLTa8PMhksfT6RSaL BcdbWC3+TJezOHX9M5vFhOlrWSy+f/vGZvF3+yYWi8Nv2oHGHWxjsVg/4zWLxapdfxgdxDzW zFvD6PH71yRGj9eTJzB6XO7rZfLYOesuu8fmJfUet/89Zva4cqKJ1WPdn1dMHv1/DTz6tqxi 9Pj5Usfj8yY5j41zQwP4orhsUlJzMstSi/TtErgyFjx7zVjwhb1i1bV9jA2MF9m6GDk5JARM JJrbf7BD2GISF+6tB4pzcQgJTGeUaHwzjRnCaWeSmPn2JwtIFZuAoUTX2y6wbhGBNIkZqzaw gBQxC7xhlVhxqQdslLBAtMSrZ/dZQWwWAVWJI1/WgzXwCnhIHD/6BaiGA2idgsScSTYgYU4B T4ltnUeZQGwhoJJ9T78yTmDkXcDIsIpRNLUguaA4KT3XSK84Mbe4NC9dLzk/dxMjOHqeSe9g XNVgcYhRgINRiYe3Q0koSIg1say4MvcQowQHs5II71d2oBBvSmJlVWpRfnxRaU5q8SFGaQ4W JXHeg63WgUIC6YklqdmpqQWpRTBZJg5OqQbGkH+nNFeGvHj//WLpR8+7d3XEi9Pv6l3ql991 fs11BblieZE07qVZXV8O7v/EfNn6oPJaHcPLp4UXCx1p1bieE/qy4feaCTPO3M1h0Ky9atI+ /dpUU9N5U5RntenPqKm9PNOkUMi9O/xcr/6bQrUroWvPdcmfeuklMU/xqJiQQlRJ26XzVb8n KbEUZyQaajEXFScCAJLsVMCaAgAA Cc: Mark Rutland <mark.rutland@arm.com>, Pawel Moll <pawel.moll@arm.com>, Arnd Bergmann <arnd@arndb.de>, Stephen Warren <swarren@wwwdotorg.org>, Tomasz Figa <t.figa@samsung.com>, Tomasz Figa <tomasz.figa@gmail.com>, Michal Nazarewicz <mina86@mina86.com>, Grant Likely <grant.likely@secretlab.ca>, Kyungmin Park <kyungmin.park@samsung.com>, Rob Herring <robherring2@gmail.com>, Sylwester Nawrocki <s.nawrocki@samsung.com>, Kumar Gala <galak@codeaurora.org>, Olof Johansson <olof@lixom.net>, Ian Campbell <ian.campbell@citrix.com>, Sascha Hauer <s.hauer@pengutronix.de> Subject: [Linaro-mm-sig] [PATCH v6 4/4] ARM: init: add support for reserved memory defined by device tree X-BeenThere: linaro-mm-sig@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/linaro-mm-sig>, <mailto:linaro-mm-sig-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Errors-To: linaro-mm-sig-bounces@lists.linaro.org Sender: linaro-mm-sig-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: m.szyprowski@samsung.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.44 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 15225d8..6a2fe44 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c @@ -17,6 +17,7 @@ #include <linux/nodemask.h> #include <linux/initrd.h> #include <linux/of_fdt.h> +#include <linux/of_reserved_mem.h> #include <linux/highmem.h> #include <linux/gfp.h> #include <linux/memblock.h> @@ -377,6 +378,8 @@ void __init arm_memblock_init(struct meminfo *mi, struct machine_desc *mdesc) if (mdesc->reserve) mdesc->reserve(); + early_init_dt_scan_reserved_mem(); + /* * reserve memory for DMA contigouos allocations, * must come from DMA area inside low memory