From patchwork Fri Dec 21 11:02:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 10740313 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 127D91399 for ; Fri, 21 Dec 2018 11:03:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 008B2286AE for ; Fri, 21 Dec 2018 11:03:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E841F286B3; Fri, 21 Dec 2018 11:03:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 90CCA286AE for ; Fri, 21 Dec 2018 11:03:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7hNvWMOnrh1Ofk01wGk10DSntVBf4kV7zVDshFfkSc0=; b=HV8MiGH36oYki6 tTjXfIn2n5iA2SmRKo4E6nHgNLd/s3PrVZGkCYoBSMatBMKxBcsqHXVA0+Do4FLgpodeJ5OVrKNum 1OAAQ69F0izmORf+rRN2IV6Hmb+OwI5EEdNI6UIuN9mOnG5E3DPxF2/vdgsxUZ30FYG2EHd6hCpLL zaHC91O/0XQXbjQYD/flrtILZan8Aboo5hjrhfDybHuuCJNOFEpnp1AHXu+SCoR5Jtfni4sOtLDbY pi+kIQfKvDlv4nGZwDD6Pu6D8bDeQexQGmMUBeSyubvI6oY/hMVoR+IKQf1jqZXCzwUTxVYSwGZeZ MJ6E01SsILapjeyuWmqg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gaIaE-0004lA-9L; Fri, 21 Dec 2018 11:03:10 +0000 Received: from mout.gmx.net ([212.227.17.22]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gaIaB-0004E0-4a for linux-arm-kernel@lists.infradead.org; Fri, 21 Dec 2018 11:03:08 +0000 Received: from macchiato.fritz.box ([84.118.159.3]) by mail.gmx.com (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id 0MRocn-1gyjJu2X85-00Syg4; Fri, 21 Dec 2018 12:02:39 +0100 From: Heinrich Schuchardt To: Russell King Subject: [PATCH 1/1] arm64: dts: marvell: mcbin: reserve PSCI area Date: Fri, 21 Dec 2018 12:02:33 +0100 Message-Id: <20181221110233.6074-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-Provags-ID: V03:K1:zRyIB963pI6upUvrodlqGvwwiPZivxiQcJKpCvOeDc5E1GeN502 L4tENX1yShBjFgFeof4iM9XDwAD6YkCLzvY0IxGx2rIQo0kls4Lv95uRHpv9MW3sSK0vh0S /8CMfMwzlGI2xxELF4q3pY7esBkoXLQpFNJXDcgKpJ52kfVd2kCKSMwKtyl6DrJ9HQqcs20 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E3 X-CRM114-CacheID: sfid-20181221_030307_489778_42C551DF X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Andrew Lunn , Jason Cooper , devicetree@vger.kernel.org, Heinrich Schuchardt , Gregory Clement , linux-kernel@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts index 56fa44860909..18df1a321b52 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts @@ -23,6 +23,17 @@ reg = <0x0 0x0 0x0 0x80000000>; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + psci_reserved: psci-area@4000000 { + reg = <0x0 0x4000000 0x0 0x200000>; + no-map; + }; + }; + aliases { ethernet0 = &cp0_eth0; ethernet1 = &cp1_eth0;