From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3v4sZG5wVBzDqVJ for ; Sat, 21 Jan 2017 07:22:14 +1100 (AEDT) Date: Fri, 20 Jan 2017 14:22:03 -0600 From: Segher Boessenkool To: Darren Stevens Cc: linuxppc-dev@lists.ozlabs.org, Pat Wall , rtd@a-eon.com, aperez@alexperez.com, Christian Zigotzky Subject: Re: [PATCH] powerpc/pasemi/nemo: Fix low memory values for boot. Message-ID: <20170120202203.GZ30284@gate.crashing.org> References: <49760dd82b0.759fd78a@auth.smtp.1and1.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <49760dd82b0.759fd78a@auth.smtp.1and1.co.uk> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Jan 20, 2017 at 05:46:13PM +0000, Darren Stevens wrote: > --- a/arch/powerpc/kernel/head_64.S > +++ b/arch/powerpc/kernel/head_64.S > @@ -79,6 +79,13 @@ _GLOBAL(__start) > /* NOP this out unconditionally */ > BEGIN_FTR_SECTION > FIXUP_ENDIAN > +#ifdef CONFIG_PPC_PASEMI_NEMO > + /* > + * Zero address 8 so Nemo will boot > + */ > + li r0,0 > + std 0,8(0) > +#endif std r0,8(0) for clarity? Segher