[RFC 3/3] zImage: Exception vector support

Geoff Levand geoffrey.levand at am.sony.com
Tue Feb 20 08:39:37 EST 2007


Josh Boyer 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 <geoffrey.levand at am.sony.com>
>> >> 
>> >> ---
>> >>  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, I'm not sure it will work with all UP platforms anyway.  The SPR
> you're peeking at to look at the thread number doesn't even exist on 4xx
> for example.

The 4xx wrapper needs a reset vector?  If so, what bootloader are you using?

-Geoff




More information about the Linuxppc-dev mailing list