From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outbound2-cpk-R.bigfish.com (outbound-cpk.frontbridge.com [207.46.163.16]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "*.bigfish.com", Issuer "*.bigfish.com" (not verified)) by ozlabs.org (Postfix) with ESMTP id 46616DDF3D for ; Tue, 20 Feb 2007 07:40:29 +1100 (EST) Message-ID: <45DA0B33.8060400@am.sony.com> Date: Mon, 19 Feb 2007 12:40:19 -0800 From: Geoff Levand MIME-Version: 1.0 To: Benjamin Herrenschmidt Subject: Re: [RFC 3/3] zImage: Exception vector support References: <45D7A914.4040000@am.sony.com> <20070218014043.GD1038@crusty.rchland.ibm.com> <45D9BC29.5020507@am.sony.com> <1171914904.18571.47.camel@localhost.localdomain> In-Reply-To: <1171914904.18571.47.camel@localhost.localdomain> Content-Type: text/plain; charset=UTF-8 Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Benjamin Herrenschmidt wrote: > On Mon, 2007-02-19 at 07:03 -0800, Geoff Levand wrote: >> Josh Boyer wrote: >> > On Sat, Feb 17, 2007 at 05:17:08PM -0800, Geoff Levand wrote: >> >> Add SMP exception vector support to the powerpc zImage bootwrapper. For >> >> platforms which have entry points in the vector table. This implements >> >> SMP entry via the system reset vector. >> >> >> >> Signed-off-by: Geoff Levand >> >> >> >> --- >> >> arch/powerpc/boot/head.S | 96 +++++++++++++++++++++++++++++++++++++++++ >> >> arch/powerpc/boot/zImage.lds.S | 2 >> > >> > This one seems pretty PS3 specific, and there's no makefile entry to actually >> > compile it... Could we name it head_ps3.S or something similar? >> > >> > Or am I misunderstanding the code and it's really generic to most SMP >> > machines (which would make a case to arguably call it head_smp.S). >> >> No, its not platform specific nor SMP specific, it should work >> with all SMP and UP platforms that need this kind of support. > > Well, all platforms that are multithread at least... the thread number > testing won't do any good on 970 for example :-) It won't do any good, or it won't work? I figured it would just branch to _zimage_start on non-SMP systems. -Geoff