Received: by 10.223.164.221 with SMTP id h29csp741414wrb; Wed, 11 Oct 2017 08:24:05 -0700 (PDT) X-Received: by 10.98.201.87 with SMTP id k84mr895847pfg.109.1507735444884; Wed, 11 Oct 2017 08:24:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507735444; cv=none; d=google.com; s=arc-20160816; b=ei/I0Cn5gvBMCqMvslRaB5Fsi5lm72sibS6mcKE53a7L0bKdNtEb2aRD3PH5OYqN5C Zj1aAZsOqQXxDT8Cu3HezoASr7xhpKkV5no4jEXBqyfLLzWU3cxQ9ISC/sUHLcvSAE7N mTILAH2bkaKi183p+h6qkzst0dNa5zBSvU5whHRyzpVrE3qPZQW/keWXZxqu7fR52E/M SmSznHN+TG39z4t1qS7pwCgR0btLwdZyFol9nDka+2S5q4yYS3UI6+/4wKwaX5CcDpj1 naHF+7dJu5uXEk3fZygAyVxdrOVd6VL3eqvlyLso86KSEKuCUXGIpTR2QYG0SvO9d2Pe 5iTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=zplGOD6NigTgm1pB+Etbp0F+UcMUxpzSL/hwma3v0bQ=; b=VmhI37etCgUE0ldEhDVwX7xRevxL8sonlE+hfJMsQK1QVYflLrK/BM7vRryQgOopXY KBfsE3sa2jj2vQYdfwquvmqK/MC5ln0OBCpsdPOKMkyPIq48t2d1aTcFkJH8x5PFray8 X9AswMDtu1B4YW3wNPNreLC5CFHdep8p6FForOWJaT/uoqnzUbzotkfCCOTguEJelpIn rNq7dNYmk+DJOCWEehGyXKwAm+DUjucigiiqneZ4dwKHCjv5I5L71gnxJxRunbJvpYzh /QRM+zHw0YRVKFv59GvI27MLmKrLJr3pwqMYoOqJAJ+VGODYZxXUhK8x+0ObkFeNUB8U eUGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Br29YZf3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65si1170903pfi.107.2017.10.11.08.23.50; Wed, 11 Oct 2017 08:24:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Br29YZf3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752037AbdJKPXR (ORCPT + 99 others); Wed, 11 Oct 2017 11:23:17 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:49911 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751459AbdJKPXP (ORCPT ); Wed, 11 Oct 2017 11:23:15 -0400 Received: by mail-wm0-f47.google.com with SMTP id b189so5716110wmd.4 for ; Wed, 11 Oct 2017 08:23:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=zplGOD6NigTgm1pB+Etbp0F+UcMUxpzSL/hwma3v0bQ=; b=Br29YZf3bR3T5TswELi61hObYVzV0RLOqwq9SeAnRTFplwn+aE+f2y/bTsjNa/C3lK z8YOsb3rk9ZH7dOiIZXYO925VzvCozLVRlMf6zzq95xSYaXGx8JCDYHMiHqcgWwbjTKG lzsy9yROBY6QVbAARRo4L6c9bKqXjpADLuvAG/4Y3WwRWTC1uxceJXBUQelhvJfYwx0n Z+oVr3VLE8XxZMr7sitlIDlosNO/nB3AqT1T3bDFfZONz6PvfU4iSlzBfCLgqdstM597 hEVU/NhfYy2kPbYiQGrO+m6gdz4wISYz+jXKMsaNQvdAlZfK8KcDbwx2IKy3fUe9EMK+ rMow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=zplGOD6NigTgm1pB+Etbp0F+UcMUxpzSL/hwma3v0bQ=; b=ZfwqbCZx1FG5knmLD+sX4geIvi1wWVXKcxMX5QljnBYTd1wiMfTGBPxSAxJgBNEfeg ij/AWO2PYPlEtNxDwBIPaeK8XRZudiHQZ7Odtpap/CFaMHkyoKfXIMc+RVCJrCR7o0pv OobEWwXSQxizwzctWoNnhK9g6YXhxTiH15XvHKZym2ZCwcvsdbQWNm18OYf8Txng+akp gfj2+yew+NS+WcHhP3XuGmfnKfu8wYoc1eaJp9eJnY5889tBwd+grewL+vEosPGZoPIg 1WPmXCecaG4ya5MtACdIyZ1XZKIaf5ALRPoxErsgPt5TnFX9xOfSdeSkpLOmq/UwsnRS YDuQ== X-Gm-Message-State: AMCzsaUQqi3oxyKwIdwCSyDyph3QbY+RXTdaXBHQrikezqW8I2Gl12nO klANNByTvdvE4VEtYmU/CitNjmh0n+w= X-Google-Smtp-Source: AOwi7QBg5B9b6Ag439NGZ2hCndzgIUHlrgQYivUGVW5/UQ8+uT6Q1Cz40w2NmI9ioq059zuTOb6i0A== X-Received: by 10.28.74.80 with SMTP id x77mr12908070wma.79.1507735394536; Wed, 11 Oct 2017 08:23:14 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id d18sm7134491wra.50.2017.10.11.08.23.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 08:23:14 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com, carlo@caione.org Cc: Neil Armstrong , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM64: dts: meson-gxl: Add alternate ARM Trusted Firmware reserved memory zone Date: Wed, 11 Oct 2017 17:23:12 +0200 Message-Id: <1507735392-20005-1-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This year, Amlogic updated the ARM Trusted Firmware reserved memory mapping for Meson GXL SoCs and products sold since May 2017 uses this alternate reserved memory mapping. But products had been sold using the previous mapping. This issue has been explained in [1] and a dynamic solution is yet to be found to avoid loosing another 3Mbytes of reservable memory. In the meantime, this patch adds this alternate memory zone only for the GXL and GXM SoCs since GXBB based new products stopped earlier. [1] http://lists.infradead.org/pipermail/linux-amlogic/2017-October/004860.html Fixes: bba8e3f42736 ("ARM64: dts: meson-gx: Add firmware reserved memory zones") Reported-by: Jerome Brunet Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index d8dd329..fb8d76a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -49,6 +49,14 @@ / { compatible = "amlogic,meson-gxl"; + + reserved-memory { + /* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */ + secmon_reserved_alt: secmon@05000000 { + reg = <0x0 0x05000000 0x0 0x300000>; + no-map; + }; + }; }; ðmac { -- 2.7.4 From 1584636330056222031@xxx Tue Nov 21 01:16:08 +0000 2017 X-GM-THRID: 1579227756306778445 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread