Message ID | 1393594976-16728-12-git-send-email-m.szyprowski@samsung.com |
---|---|
State | Accepted |
Commit | 708b7eef12f945a510ba5ac3b4007d7ae4796d55 |
Headers | show
Return-Path: <patchwork-forward+bncBDG6PF6SSYDRBNNFYKMAKGQEJZNDDSI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f200.google.com (mail-pd0-f200.google.com [209.85.192.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3704620543 for <linaro@patches.linaro.org>; Fri, 28 Feb 2014 13:44:22 +0000 (UTC) Received: by mail-pd0-f200.google.com with SMTP id p10sf1576598pdj.3 for <linaro@patches.linaro.org>; Fri, 28 Feb 2014 05:44:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; 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=PK0M7z4/1DCTJ4yg3AeFTJ8TY8G2w934LtNICJCvgoY=; b=eNxu+8ilxCQpN7RBJ45QB9YwUvlbgF2DvMRZL8rYVKHg/CiqypX2pdI/gx3i06wqwv jA82A1/I0Fg9YWNH+Jrqgknd13fgj/ljFQbdDA/NOiV08Bi06vNdeP9itn2HX5UIlT3J vpuVrYpOfCqR1GxviOlPtKyhgPb1DQiR9nIE05UStlGqmOkG96pDxFmk7H5AAxiOlJ/O G80xzoeBcj3kaVh5EpvKs8opT9otijRCG/8jERfJ4BB5RzZqbWEoeMFFh257Y3N1coBd EkDwO21YON44QUYkHT7711F9a/Ko+faMFGk5tKn8CYd6pCeFIaV0UqwUW+QI9UHGZ/1d dznw== X-Gm-Message-State: ALoCoQlOCRwz/Zx4KcE/+e3u3+0AyKObKG944ElhlIhdukhUaagAzQVDpBxn+S87icq2h7wYYUV2 X-Received: by 10.66.252.1 with SMTP id zo1mr1236355pac.40.1393595061458; Fri, 28 Feb 2014 05:44:21 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.35.208 with SMTP id n74ls1124770qgn.65.gmail; Fri, 28 Feb 2014 05:44:21 -0800 (PST) X-Received: by 10.52.250.4 with SMTP id yy4mr32731vdc.56.1393595061282; Fri, 28 Feb 2014 05:44:21 -0800 (PST) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id xn5si567982vdc.146.2014.02.28.05.44.21 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Feb 2014 05:44:21 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id jw12so747830veb.32 for <patchwork-forward@linaro.org>; Fri, 28 Feb 2014 05:44:21 -0800 (PST) X-Received: by 10.52.237.167 with SMTP id vd7mr141706vdc.54.1393595061199; Fri, 28 Feb 2014 05:44:21 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.130.193 with SMTP id u1csp54649vcs; Fri, 28 Feb 2014 05:44:20 -0800 (PST) X-Received: by 10.180.101.230 with SMTP id fj6mr3314059wib.27.1393595060279; Fri, 28 Feb 2014 05:44:20 -0800 (PST) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id s10si2039023wiz.67.2014.02.28.05.44.19 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 28 Feb 2014 05:44:20 -0800 (PST) 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 1WJNiD-0008Od-Si; Fri, 28 Feb 2014 13:42:49 +0000 Received: from mailout4.w1.samsung.com ([210.118.77.14]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from <m.szyprowski@samsung.com>) id 1WJNhO-0008Hz-DM for linaro-mm-sig@lists.linaro.org; Fri, 28 Feb 2014 13:41:58 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N1P00M01KSA4J80@mailout4.w1.samsung.com> for linaro-mm-sig@lists.linaro.org; Fri, 28 Feb 2014 13:43:22 +0000 (GMT) X-AuditID: cbfec7f4-b7f796d000005a13-32-531092798323 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id DE.55.23059.97290135; Fri, 28 Feb 2014 13:43:21 +0000 (GMT) Received: from amdc1339.mshome.net ([106.116.147.30]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N1P002ZJKROU750@eusync3.samsung.com>; Fri, 28 Feb 2014 13:43:21 +0000 (GMT) From: Marek Szyprowski <m.szyprowski@samsung.com> To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-mm-sig@lists.linaro.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org Date: Fri, 28 Feb 2014 14:42:56 +0100 Message-id: <1393594976-16728-12-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1393594976-16728-1-git-send-email-m.szyprowski@samsung.com> References: <1393594976-16728-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAy2Ra0hTYRzGe8/OzjkbDo+b1kHEalFg4S0MXkokFOy1oAK/hBFz6lDBqexi atJsqcyl25igEl5m3mhemYFuJaUslaJItJkuG6ZUumWGEqab5bJvv//z/8Hz4aFYfCMeSuXm KySyfHGekODir/cm30eWGOnUmPpuAfQZJ0i4oa5kwR9dNQC22t+yod7TxoYvvCMAemo1OLT2 rwP4Ru0h4XB1Iwm3ZpcwaFl2sGFbVQcOZ2xNBOyzL5JwcHUMg51z0xg0TVawobchHL6a2yRg r72dhIaGPhxWjtpJ6Bu24HBtrAqHA41uHJptXgBXf07hF8NQb0svQLs7RoDcdQaAZnS1GLI+ XCRRjaeCjSzmagJ9dDwj0FCHCjn3lllodkrNRv3eNQzpfTGo2aYDSPfEDNCmJfx6UBo3PkuS l1skkUUnpHNzVnRPscIOTvFQcw9eDpykFlAUQ8cxW8sRWsDZx8PMu08DhBZwKT7dCZj2z27y 4HiAMfd3BnG/RdCxjPa7lvBzMN0GmM0W3C+xaBfBaKZrMP9DQN9krM/1/yScPsnsqndZfubR Kcyws+5/8zGmyRjvjzn7cXmDi+1nPo0Y5/YcMACeCRwygxCJMrNQnpEtjY2Si6VyZX52VGaB 1AIOdtwaAe0T58cBTQFhAM+QEpjKZ4uL5CXSccBQLGEwb0VNp/J5WeKSUomsQCRT5knk4wCj OKHlQGArhurFb4rOFFSm/318/mjypa+j3KDmqWuKpJDuiI3bf1RnJTaf5l4XvpAucvng1fkj 2JLIGhctSpTpz3y5HHk3IfrROY3S5Gq9o+t3X0myF6nCSk8Zym6Ybm2L1l9ewAMEHxwd9WGJ 1h5V8sIJoUObllGoyPz1WDNoDNQIcXmOOPY0SyYX/wU9PlwApQIAAA== Cc: Mark Rutland <mark.rutland@arm.com>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, Tomasz Figa <t.figa@samsung.com>, Will Deacon <will.deacon@arm.com>, Tomasz Figa <tomasz.figa@gmail.com>, Paul Mackerras <paulus@samba.org>, Arnd Bergmann <arnd@arndb.de>, Josh Cartwright <joshc@codeaurora.org>, Catalin Marinas <catalin.marinas@arm.com>, Grant Likely <grant.likely@linaro.org>, Ian Campbell <ian.campbell@citrix.com>, Pawel Moll <pawel.moll@arm.com>, Stephen Warren <swarren@wwwdotorg.org>, Sascha Hauer <s.hauer@pengutronix.de>, Michal Nazarewicz <mina86@mina86.com>, Rob Herring <robh+dt@kernel.org>, Kumar Gala <galak@codeaurora.org>, Olof Johansson <olof@lixom.net> Subject: [Linaro-mm-sig] [PATCH v6 11/11] powerpc: 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.128.173 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/powerpc/Kconfig b/arch/powerpc/Kconfig index 957bf344c0f5..3b6617fed8fc 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -90,6 +90,7 @@ config PPC select BINFMT_ELF select OF select OF_EARLY_FLATTREE + select OF_RESERVED_MEM select HAVE_FTRACE_MCOUNT_RECORD select HAVE_DYNAMIC_FTRACE select HAVE_FUNCTION_TRACER diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c index f58c0d3aaeb4..591986215801 100644 --- a/arch/powerpc/kernel/prom.c +++ b/arch/powerpc/kernel/prom.c @@ -33,6 +33,7 @@ #include <linux/irq.h> #include <linux/memblock.h> #include <linux/of.h> +#include <linux/of_fdt.h> #include <asm/prom.h> #include <asm/rtas.h> @@ -588,6 +589,8 @@ static void __init early_reserve_mem_dt(void) memblock_reserve(base, size); } } + + early_init_fdt_scan_reserved_mem(); } static void __init early_reserve_mem(void)
Enable reserved memory initialization from device tree. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- arch/powerpc/Kconfig | 1 + arch/powerpc/kernel/prom.c | 3 +++ 2 files changed, 4 insertions(+)