From patchwork Fri Dec 11 18:31:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 58306 Delivered-To: patch@linaro.org Received: by 10.112.73.68 with SMTP id j4csp51996lbv; Fri, 11 Dec 2015 10:32:11 -0800 (PST) X-Received: by 10.98.86.10 with SMTP id k10mr17389920pfb.85.1449858731457; Fri, 11 Dec 2015 10:32:11 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rr8si2614678pab.51.2015.12.11.10.32.11; Fri, 11 Dec 2015 10:32:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751713AbbLKScK (ORCPT + 6 others); Fri, 11 Dec 2015 13:32:10 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:38449 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750952AbbLKScI (ORCPT ); Fri, 11 Dec 2015 13:32:08 -0500 Received: by wmec201 with SMTP id c201so82078951wme.1 for ; Fri, 11 Dec 2015 10:32:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=TarIAMVV0faw1sYjWOZsud7Df2yWS5wlD0HbUcmQmLI=; b=h2OLQT1yhhAViYN1Z36tk9Pf2kbJtzdfoBnzLt1LNZSFcPOLvZRlMYAfBrSE3ZxVlK OEYLQkbEa5dWCPqzMT9id0ybe8fdFDCvHDfqBqKyPT6Lbdy+Hq2jBCIDaRgPmY1AqESE kgb6wrHp8Kz/WTfAlSWTz1U/9vEkQe6kUqRdu/wlRGi1CvrZQy9Vy/gzLU3/geXeXB2X EGNle2egADQxkcbF1xe0zRk/9BF27MWao+LjxQEY884szfXhHlphbs++bm2E3MIq6QqG njImCrDYhRG95oRjHtfDQoB0e0ure38PVdQtkl0F3eJ51M/JIyLejzVU8PSdG5wS6vaP tyZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TarIAMVV0faw1sYjWOZsud7Df2yWS5wlD0HbUcmQmLI=; b=Dd4Vfwwrz690aBgyFB6f9VopJU0rE6dYcM/rb0CL+NOQyCoQ/upP8Gx244Jvr5R5X1 vDDigvBjY7VpprRKuOYguKmWTqcMU4pGtlycmWUgCZVazVZ40QTOpxRp4fRCOglCNM79 +cAg48iT6Z2F0uozvyC3XTKC+9WYqmnbiFHEWLkkN800ZC7rt30tCD0YZTqWDXNFRB6l I5qITKg4CDuKSAp6vg2kq4hF6N68QloAP1Y62yev40Qz6lYiGel136y5NR6odKOJhgFj b7N7M9pFvyUk5ObtxGzY00TR9txfnSwXqSQgcSbtXHktHaz5+A7X4gFtwKcDP/9lz31X Jnuw== X-Gm-Message-State: ALoCoQnoLIqpSB+lpxl7Lyb/nmxIP+Nm4GWqoRfte5Fw0f/9xhpT7C3oioijKXz2yY0dYy42hwWEWeJDY7sX4wL36jhVfgmMyg== X-Received: by 10.28.126.215 with SMTP id z206mr7795013wmc.71.1449858727308; Fri, 11 Dec 2015 10:32:07 -0800 (PST) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id 67sm4517728wmm.6.2015.12.11.10.32.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Dec 2015 10:32:06 -0800 (PST) From: Srinivas Kandagatla To: andy.gross@linaro.org, linux-arm-msm@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 2/4] arm: dts: apq8064: add shared memory into dt reserved-memory Date: Fri, 11 Dec 2015 18:31:47 +0000 Message-Id: <1449858707-13517-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1449858409-13296-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1449858409-13296-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This patch adds the shared memory in the Device tree reserved memory list so that kernel would not map it as normal memory. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index a4c1762..09f0e27 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -11,6 +11,17 @@ compatible = "qcom,apq8064"; interrupt-parent = <&intc>; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + smem:smem@80000000 { + reg = <0x80000000 0x200000>; + no-map; + }; + }; + cpus { #address-cells = <1>; #size-cells = <0>;