Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3005604imm; Sun, 1 Jul 2018 10:08:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK/U0V05llEjHo3wMhJyH6HzH99BKpdeWGtktf2zf3YIsauQjd3c6a7UjTTyZLf4leFgS1k X-Received: by 2002:a63:6188:: with SMTP id v130-v6mr19029259pgb.100.1530464902347; Sun, 01 Jul 2018 10:08:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530464902; cv=none; d=google.com; s=arc-20160816; b=q0NXGHDHHbhYwz4dsa5mMdMrknjbpAiDxgPY4W28G6ZZQQm1QcGWuQwuBREF/9iCmD SYt8wFP8kqTi7RqQzX6SZ5UV78Z0wklKmGVXCNz8hLqzuWeJMyOML4ogJv3JH/CklWlS ZEfMbywDtQ5Er9932ALSOmeBX6szGkjrsiNaIXbpq94k6NYhMNxL0guAs+WOtQvGlbHo mXh7/1CQtSQd16mtxTk0+njwa+xBlA+U0fXSnMYhuE5bwGfB6b67/xjJcNOf9jBTtlRM eTaiVNwdHclWjIOdeMb2g+FqlVBV39uzbdM6XQmuWv/pzj7pCLobpxirDOuqLjj40ov3 Cgdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=JJf2yPVfOXsa7vgYuf1/z6TsNHCyetC8qsoswg8f7vM=; b=jTifVdlx013sjp7UPUOQ+0rfuKZZhWFbPdmdXSSZ2kg0aLgM5HcGxYGC7GNPCvAiKS qlh8Dc3zZuuStsxqY3uaM35FpAN21O+TvKaxz7DQr2afSzc+TAaf1+p7ms5po3TRVqgJ zZ1fWrru3moWVmYTkCevgwdrBn3OuB3Q/lOCumc99IQozi61zotxQ9gha5Rs/qcxQ56g ZE9KX2YOW9iPSupcfTICcs/6I9RCZSVz9vfJNXd0CH4X4U/3dkjE5jq2ewUxFZFWbrUU SpV0tmzR6AR3FgJktDGk7IMnijMo74CiMuYPKX9nMsECHR3CpUny3hhBaEHFFTvBABFR oV2w== ARC-Authentication-Results: i=1; mx.google.com; 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 p21-v6si14493704plq.94.2018.07.01.10.08.07; Sun, 01 Jul 2018 10:08:22 -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; 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 S1032094AbeGAQlu (ORCPT + 99 others); Sun, 1 Jul 2018 12:41:50 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:37424 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032079AbeGAQlm (ORCPT ); Sun, 1 Jul 2018 12:41:42 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id EC142AA6; Sun, 1 Jul 2018 16:41:41 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Neil Armstrong , Kevin Hilman Subject: [PATCH 4.17 077/220] ARM64: dts: meson-gx: fix ATF reserved memory region Date: Sun, 1 Jul 2018 18:21:41 +0200 Message-Id: <20180701160911.662594946@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180701160908.272447118@linuxfoundation.org> References: <20180701160908.272447118@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.17-stable review patch. If anyone has any objections, please let me know. ------------------ From: Kevin Hilman commit 48e21ded0432ee1e2359d4143d7a6925cefee1b5 upstream. Vendor firmware/uboot has different reserved regions depending on firmware version, but current codebase reserves the same regions on GXL and GXBB, so move the additional reserved memory region to common .dtsi. Found when putting a recent vendor u-boot on meson-gxbb-p200. Suggested-by: Neil Armstrong Cc: stable@vger.kernel.org Signed-off-by: Kevin Hilman Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 6 ++++++ arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 8 -------- 2 files changed, 6 insertions(+), 8 deletions(-) --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi @@ -35,6 +35,12 @@ no-map; }; + /* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */ + secmon_reserved_alt: secmon@5000000 { + reg = <0x0 0x05000000 0x0 0x300000>; + no-map; + }; + linux,cma { compatible = "shared-dma-pool"; reusable; --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -13,14 +13,6 @@ / { compatible = "amlogic,meson-gxl"; - reserved-memory { - /* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */ - secmon_reserved_alt: secmon@5000000 { - reg = <0x0 0x05000000 0x0 0x300000>; - no-map; - }; - }; - soc { usb0: usb@c9000000 { status = "disabled";