Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6262437imu; Mon, 21 Jan 2019 06:03:19 -0800 (PST) X-Google-Smtp-Source: ALg8bN6QhRQIYdtGMeUCp11WTRcYoOc3RqcUiFYlmEKhzkhRpnaiK10L2XoKsgmMdCWmz1vCDTvV X-Received: by 2002:a17:902:f81:: with SMTP id 1mr29372378plz.174.1548079398897; Mon, 21 Jan 2019 06:03:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548079398; cv=none; d=google.com; s=arc-20160816; b=NfrfCYVrQdz8fI001Jb1nvhXDTbzzU/aYO3rlB5+h9/touCBs408cV4a2bIH24GV38 pSOKztLgH0FF+9tIZnGBsrVLbEdUPGBKAFaPc6pxdVDjxePdIbI5wv/PMZVgREAfR4CY p1N00YA/q1y2aZst0BZ4w8OGTT2siqI/FYhD7Af5yllk2tIAGDzGNdu3k/dolDh0OlcQ L0WKSi5v2DNIGunDrqFYR1974SHmeXN3LUFTdg5lPXNCRift8vvnZDCOIIBKLAxmXGLu vpz+63N36vwyIJNq+BG/vvQXLX6nZoxEhwaWetutVvPjKB7Bcy1sAbbNVyiGAMlhPEww 9UCQ== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bnjqdc+uumNKIf42BmrFVNdAEIDgICWD4WwBoS5mT+E=; b=Viuavdi9fW8/U9Z9Wp7V1cT2CWMasByfGSQ5Mfy8AMwQK4V+Faa7XC//tKwc6klhAn iG0sK7wddqgXJIoAJVRr2f3zws8sCXML6Ek95Sp7Vkv+FjVk+iXa1SSzui+Ns2wLfLNj 354MPdHz7ANxrYLotT6e/Ls6ETEQr0aMfXpv8og6he5LmF1ynU9sJWJFIDXGnougDf+C hYEa7df9E6MzXgawYqOtAAWgn38JIFc3XHbSPGhc3Fm46rZwKiOIFFwBJEsGH4Pcni0X njswVxEO6nBn8LLGAhqLn9sldeauxWKXIelnR840vRfinVLgLQGWMERkvZU3VNLIju5K U7VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="ZB/n5SmP"; 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 a6si12503953pfo.90.2019.01.21.06.02.56; Mon, 21 Jan 2019 06:03:18 -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; dkim=pass header.i=@kernel.org header.s=default header.b="ZB/n5SmP"; 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 S1732507AbfAUOAt (ORCPT + 99 others); Mon, 21 Jan 2019 09:00:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:47546 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732036AbfAUOAq (ORCPT ); Mon, 21 Jan 2019 09:00:46 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B917520879; Mon, 21 Jan 2019 14:00:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548079246; bh=Nf8T2clMQ9EvfJD8J97l5jhybUurG8z3FtT/CZvTAjc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZB/n5SmPLLUPl0/xx1kvPKNq8G5rL0AkzM6g7t0BeKJHt96OEcIdngo+oW1cE0I5S sAZ1vNaqLQDb7v2Lpn22J9n5HCulZpBulOOJOW5Glxah6Ei91BYpQM95xh5U1b9wg3 4WOVhTNZn3/99rD8VW2xHzny2mMyQ8xqp0hPZ98c= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Heinrich Schuchardt , Gregory CLEMENT Subject: [PATCH 4.19 58/99] arm64: dts: marvell: armada-ap806: reserve PSCI area Date: Mon, 21 Jan 2019 14:48:50 +0100 Message-Id: <20190121134916.180717784@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190121134913.924726465@linuxfoundation.org> References: <20190121134913.924726465@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore 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 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Heinrich Schuchardt commit 132ac39cffbcfed80ada38ef0fc6d34d95da7be6 upstream. 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. [gregory: added as comment that this region matches the mainline U-boot] Signed-off-by: Heinrich Schuchardt Signed-off-by: Gregory CLEMENT Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) --- a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi @@ -27,6 +27,23 @@ method = "smc"; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * This area matches the mapping done with a + * mainline U-Boot, and should be updated by the + * bootloader. + */ + + psci-area@4000000 { + reg = <0x0 0x4000000 0x0 0x200000>; + no-map; + }; + }; + ap806 { #address-cells = <2>; #size-cells = <2>;