From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [PATCH V5 5/5] arm: mvebu: Added SMP support for Armada XP Date: Wed, 21 Nov 2012 12:26:10 +0000 Message-ID: <20121121122610.GM3290@n2100.arm.linux.org.uk> References: <1353446150-10088-1-git-send-email-gregory.clement@free-electrons.com> <1353446150-10088-6-git-send-email-gregory.clement@free-electrons.com> <20121121104132.GD11990@mudshark.cambridge.arm.com> <50ACC198.5030300@free-electrons.com> <20121121122251.GI11990@mudshark.cambridge.arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20121121122251.GI11990@mudshark.cambridge.arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Will Deacon Cc: Lior Amsalem , Andrew Lunn , Ike Pan , Nadav Haklai , Ian Molton , David Marlin , Yehuda Yitschak , Jani Monoses , Mike Turquette , Tawfik Bayouk , Dan Frazier , Eran Ben-Avi , Leif Lindholm , Sebastian Hesselbarth , Jason Cooper , Arnd Bergmann , "jcm@redhat.com" , "devicetree-discuss@lists.ozlabs.org" , "rob.herring@calxeda.com" , Ben Dooks , Gregory CLEMENT , linux-arm-kernel@list List-Id: devicetree@vger.kernel.org On Wed, Nov 21, 2012 at 12:22:51PM +0000, Will Deacon wrote: > Sorry, my mistake (I was thinking on my feet) since secondary_startup is > declared in a C file, right? How about: > > ldr lr, =secondary_startup > b ll_set_cpu_coherent Why? Do we really want LR to be the _virtual_ address? No we don't, because secondary_startup expects to be called with the MMU off. So I go back to my original comment. What's wrong with: bl ll_set_cpu_coherent b secondary_startup ?