From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754549AbdEIQsf (ORCPT ); Tue, 9 May 2017 12:48:35 -0400 Received: from anholt.net ([50.246.234.109]:36922 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752737AbdEIQse (ORCPT ); Tue, 9 May 2017 12:48:34 -0400 From: Eric Anholt To: Phil Elwell , Rob Herring , Mark Rutland , Russell King , Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org Subject: Re: [PATCH V2] ARM: dts: bcm283x: Reserve first page for firmware In-Reply-To: References: User-Agent: Notmuch/0.22.2+1~gb0bcfaa (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Tue, 09 May 2017 09:48:31 -0700 Message-ID: <8737cenfhc.fsf@eliezer.anholt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Phil Elwell writes: > The Raspberry Pi startup stub files for multi-core BCM27XX processors > make the secondary CPUs spin until the corresponding mailbox is > written. These stubs are loaded at physical address 0x00000xxx (as seen > by the ARMs), but this page will be reused by the kernel unless it is > explicitly reserved, causing the waiting cores to execute random code. > > Use the /memreserve/ Device Tree directive to mark the first page as > off-limits to the kernel. > > See: https://github.com/raspberrypi/linux/issues/1989 > > Signed-off-by: Phil Elwell This looks great. We're currently in the merge window, so I can't generate a new bcm2835-dt-next yet, but I'll pick this patch up when I do. Thanks for submitting upstream! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlkR8t8ACgkQtdYpNtH8 nuiBAQ//djx+Dt74AvMBwXWASJ3+H3NFbj6MhKMF6O7MiM7M8ejolrmxzd4TlBNc 69xQKccbKaxOW/BivmI7cs75alQld47WWN04PgpxXg2mR4szrpuW3YySgkjxXtmk k3q2jM0JgKVL3lvNeYW6j59H96TGha/G5WYFRSBlURTnYICKqQzOTeUB2Pvs3H7j TpTZUiT5WeefqASW97eEUN4vv96NeHEszAffuyjjfGwf2nBcHCVMnroyHzu+t7OT Z+XKpda20mn/4ygRVO2wRt2Vr8WqYLUBCjqarr8Y4gNa6VH17ArgPm3MyT93HHlO aHIai15210vT3QJrNUHQOvpfORhSy9TGADJ/7S2SXFfJoON65XYqpahh9xx4Yt6W 6EeZ/TbD4V06FN4nacPaJ5/HRIbCgaPjP+4ymDteUiQeEGLY1ZEFWX4XBX7I2vvu gTeDURR42tDCJJ5ybq8BrxjXL+1ZxxMBXxUXvEEW29gUyx1Hpo4lJgLQ9JldjMj7 gzidSrrDVUZ6tDfcK4huz/GeG8yT2q3ALuUXwoPhcITmSWsfbGUAJsjyte/CzcNX Fq894kuZDv4Ue3R5xiIAvduqzghsaaC1DMNgoopgHHYSamr0F0/71VrMje07b2LP X/xuTCbiyHtQ+RlK9f0sECoX94NhDvvZIchWXeXAjEzrNB8+Rxg= =aCwE -----END PGP SIGNATURE----- --=-=-=--