Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1835636imu; Thu, 10 Jan 2019 03:59:27 -0800 (PST) X-Google-Smtp-Source: ALg8bN5qpJOx6EjAXrZCkFX4rpRmnuwL4GRVhcWkgiAsrEzl17B8VJai01R0vuSz0ZeOZHWItbYo X-Received: by 2002:a63:3204:: with SMTP id y4mr9095651pgy.41.1547121567181; Thu, 10 Jan 2019 03:59:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547121567; cv=none; d=google.com; s=arc-20160816; b=xDCHjnTKKISWENsxHOQyIwLApJgxHtvBkP7fGBG9Px7Z41VhHg+IinrUCtGSV00Phz 2Z5tB9uU8fPfE2OO4IX46/O2NqakXfbBVpLn85lyfLYZmt+2ulQHHM94nDFqBaGAROVR U1KdpsjCEBMpA1eU/efrEE6EVZ5VNjdqnIBkc8U98BKQoxmFkM4Mv7ENjOBS3CmJt4bb NbT9HBe4GgTICsnccWGp88IzS94QIyUlp2OsPYO7l481Tv6ymOOeHfrjN2xkp+guOU6o RucNN/4XXo+5UFnM852a4RHpcl5DicqCb5fJnko0+P0cZP4W2upqmDii20yuLbPdlezV 84IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from; bh=keERRSH4Hro+49XKech1u2+VaG6YLExMoUkQSPkPNc4=; b=k4YgwHdMgouns0UkzkTkqbWptmKjZb7u5DkRxtah96+RQGOC3GlLrOvV+hDLcblzt4 QhHxaHHevA07tpz2cBAJF2jxNC3viEBcNfwNKsmbsv3StqUqU9qKj6X139Iqp7u/WLuz 8v+JyQMsUAiK+T3cMkgsGsRrvyccI7FJuapgMXrX7C4JVu37LPRRVeP1ijVEs3eLLJat Ar4aHt7CdmezowQF+Nq6iGtuvSzJj1qWIN4G25q/0ci9kNb6LxAQWhyk52cKu/yyoqmX j3mM81GI2Wc4K5HTuX68Xci9k4MzYVhHiQTNm/W9TAUuTNBxAKzqEU6hnrYR6v1I6iuH FCYQ== 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 j28si33353355pgm.160.2019.01.10.03.59.11; Thu, 10 Jan 2019 03:59:27 -0800 (PST) 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 S1727985AbfAJLE7 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 10 Jan 2019 06:04:59 -0500 Received: from mail.bootlin.com ([62.4.15.54]:42125 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726925AbfAJLE7 (ORCPT ); Thu, 10 Jan 2019 06:04:59 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id CDE97209D7; Thu, 10 Jan 2019 12:04:56 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost (alyon-652-1-61-72.w109-213.abo.wanadoo.fr [109.213.84.72]) by mail.bootlin.com (Postfix) with ESMTPSA id 94941206DC; Thu, 10 Jan 2019 12:04:46 +0100 (CET) From: Gregory CLEMENT To: Heinrich Schuchardt Cc: Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/1] arm64: dts: marvell: armada-ap806: reserve PSCI area References: <20181221164503.5128-1-xypron.glpk@gmx.de> Date: Thu, 10 Jan 2019 12:04:46 +0100 In-Reply-To: <20181221164503.5128-1-xypron.glpk@gmx.de> (Heinrich Schuchardt's message of "Fri, 21 Dec 2018 17:45:03 +0100") Message-ID: <874lagpycx.fsf@FE-laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Heinrich, On ven., déc. 21 2018, Heinrich Schuchardt wrote: > The memory area [0x4000000-0x4200000[ is occupied by the PSCI firmware. Any > attempt to access it from Linux leads to an immediate crash. > > So let's make the same memory reservation as the vendor kernel. > > Signed-off-by: Heinrich Schuchardt Applied on mvebu/fixes I added a comment about the use with a mainline /U-Boot Thanks, Gregory > --- > v2 > Move the change from armada-8040-mcbin.dts to armada-ap806.dtsi. > I only have a MACCHIATObin for testing but > https://github.com/MarvellEmbeddedProcessors/linux-marvell > has the reservation in that file. > --- > arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi > index 7d94c1fa592a..f8dafef83db0 100644 > --- a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi > @@ -28,6 +28,17 @@ > method = "smc"; > }; > > + reserved-memory { > + #address-cells = <2>; > + #size-cells = <2>; > + ranges; > + > + psci-area@4000000 { > + reg = <0x0 0x4000000 0x0 0x200000>; > + no-map; > + }; > + }; > + > ap806 { > #address-cells = <2>; > #size-cells = <2>; > -- > 2.19.2 > -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com