Message ID | 1392985527-6260-10-git-send-email-m.szyprowski@samsung.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDG6PF6SSYDRBIEMTWMAKGQE5FTQCPQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C6E2E20143 for <linaro@patches.linaro.org>; Fri, 21 Feb 2014 12:27:12 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id kp14sf8689915pab.6 for <linaro@patches.linaro.org>; Fri, 21 Feb 2014 04:27:12 -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=aAHvBxIHLkGzbrMz/i2bGJjwSmb/VzBJcHUT4RdidzI=; b=ee3bD3o20kPUJ173Ijc6C8LbRs7Wo6hCQJ++E81lFImWa8ji3nSzBMBY/7uuBs4G2G vb8g+ExQyOI0C1Efc+/QSazycLdlA9CGTuUD9YLRyratpTmHLBCvvxPs3rYeFloGhWue JPcZdYkbPNK9EGJEe3VoWO9k8Ob/TItmPfXwtvCoOwb7/eifX6b1/njdF9E+ehwRNXL4 UI5rYl7h/4x/5O5szVweBjXmyQMcRTokdqVkkPsHPvIx3tfSWzgUWN7kyrpDNUnO6K53 SEIZPLD6L3PcIqFPY+GsHkE4bElFQxnskRKQLYPbx9PwnHSxqT7bnmijVEOK+sT3sywg /uEg== X-Gm-Message-State: ALoCoQkJSt4TpNert6xcZXJORxS+2ExlyjRGzcma+VOAqVykIuu1IkR8q4koeAMPCqdfMIRS+DSP X-Received: by 10.66.172.103 with SMTP id bb7mr3317308pac.44.1392985632065; Fri, 21 Feb 2014 04:27:12 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.35.208 with SMTP id n74ls981192qgn.65.gmail; Fri, 21 Feb 2014 04:27:11 -0800 (PST) X-Received: by 10.220.161.132 with SMTP id r4mr4593938vcx.29.1392985631905; Fri, 21 Feb 2014 04:27:11 -0800 (PST) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id b20si2923120veu.30.2014.02.21.04.27.11 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 21 Feb 2014 04:27:11 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.175 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.175; Received: by mail-ve0-f175.google.com with SMTP id oz11so1297007veb.20 for <patchwork-forward@linaro.org>; Fri, 21 Feb 2014 04:27:11 -0800 (PST) X-Received: by 10.52.164.39 with SMTP id yn7mr3819077vdb.25.1392985631818; Fri, 21 Feb 2014 04:27:11 -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.174.196 with SMTP id u4csp30074vcz; Fri, 21 Feb 2014 04:27:11 -0800 (PST) X-Received: by 10.14.0.132 with SMTP id 4mr7932565eeb.95.1392985630837; Fri, 21 Feb 2014 04:27:10 -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 c43si15892339eeo.101.2014.02.21.04.27.09 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 21 Feb 2014 04:27:10 -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 1WGpAs-0004JA-5I; Fri, 21 Feb 2014 12:25:50 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from <m.szyprowski@samsung.com>) id 1WGpAA-0004Dc-Ef for linaro-mm-sig@lists.linaro.org; Fri, 21 Feb 2014 12:25:06 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N1C006JRIJU9090@mailout3.w1.samsung.com> for linaro-mm-sig@lists.linaro.org; Fri, 21 Feb 2014 12:26:18 +0000 (GMT) X-AuditID: cbfec7f4-b7f796d000005a13-be-530745ea4c5f Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id EE.31.23059.AE547035; Fri, 21 Feb 2014 12:26:18 +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 <0N1C001ZAIJD5M60@eusync3.samsung.com>; Fri, 21 Feb 2014 12:26:18 +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, 21 Feb 2014 13:25:25 +0100 Message-id: <1392985527-6260-10-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1392985527-6260-1-git-send-email-m.szyprowski@samsung.com> References: <1392985527-6260-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEIsWRmVeSWpSXmKPExsVy+t/xq7qvXNmDDfa+57b4O+kYu8WHplZm i/fLehgt5h85x2rR/2Yhq8WBPzsYLd70drBY7Fz3jtHibNMbdovtnTPYLb5cechksenxNVaL hW1LWCwu75rDZrH2yF12iw0vDzJZLL1+kcliwfEWVos/0+UsTl3/zGax5shidosJ09eyWLTu PcJu8Xf7JhaLVwfbWCzWz3jNYrFq1x9Gi5cfT7A4yHismbeG0eP3r0mMHq8nT2D0uNzXy+Sx c9Zddo+eNy2sHptWdbJ53Lm2h81j85J6j9v/HjN7XDnRxOqx7s8rJo/+vwYec3f1MXr0bVnF 6PF5k1yAYBSXTUpqTmZZapG+XQJXxuOtH9gLnrJXTH3ewdjAuIati5GTQ0LARGLdu9nsELaY xIV764HiXBxCAksZJVZcuswM4XQzSbxtWMIKUsUmYCjR9bYLrFtEYCGjxOd5LCBFzAL32SQ6 LvYwgSSEBcIlDi+aB1bEIqAq8X76TLAVvAIeEg93LACq4QBapyAxZ5INSJgTKHzmwHN2kLCQ gLvEuo6sCYy8CxgZVjGKppYmFxQnpeca6hUn5haX5qXrJefnbmKExOOXHYyLj1kdYhTgYFTi 4S2QYAsWYk0sK67MPcQowcGsJMJ7UJ89WIg3JbGyKrUoP76oNCe1+BAjEwenVANj7fJdkzkT L7/OSNmWGRfovL3y0+mj3N5Od5MfV/ztKkq8cC/n+yPdj3H6s1UUXoieO8by6nb1l91nXxpF abVKPZs5X8rkht8SjfZzHm8j/Zu0NTkyTwrLMRWbHYi+9dI5+5FfhrDdkWu5H72VTnlmPnlz q/f0f8l2+S9/JxsfbDNJ9vDeFcqmxFKckWioxVxUnAgAx96RFqUCAAA= 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 v5 09/11] arm: 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.175 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/Kconfig b/arch/arm/Kconfig index e25419817791..d0262bea8020 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1918,6 +1918,7 @@ config USE_OF select IRQ_DOMAIN select OF select OF_EARLY_FLATTREE + select OF_RESERVED_MEM help Include support for flattened device tree machine descriptions. diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 804d61566a53..2a77ba8796ae 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c @@ -323,6 +323,8 @@ void __init arm_memblock_init(struct meminfo *mi, if (mdesc->reserve) mdesc->reserve(); + early_init_fdt_scan_reserved_mem(); + /* * reserve memory for DMA contigouos allocations, * must come from DMA area inside low memory
Enable reserved memory initialization from device tree. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- arch/arm/Kconfig | 1 + arch/arm/mm/init.c | 2 ++ 2 files changed, 3 insertions(+)