Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-27 Thread Michael Ellerman
On Thu, 2007-09-27 at 05:10 -0500, Kumar Gala wrote: > >>> You're probably right :) > >>> > >>> What cores have SPE at the moment? Also, perhaps more importantly, > >>> are there any plans to have Altivec and SPE in the same core? > >> > >> The e500 cores's from Freescale. > >> > >> No, they are pr

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-27 Thread Kumar Gala
>>> You're probably right :) >>> >>> What cores have SPE at the moment? Also, perhaps more importantly, >>> are there any plans to have Altivec and SPE in the same core? >> >> The e500 cores's from Freescale. >> >> No, they are pretty much mutually exclusive. >> >>> I've been working with Carlos Ed

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-26 Thread Michael Ellerman
On Wed, 2007-09-26 at 09:42 +0200, Geert Uytterhoeven wrote: > On Wed, 26 Sep 2007, Kumar Gala wrote: > > On Sep 25, 2007, at 11:56 PM, Mark Nelson wrote: > > > What cores have SPE at the moment? Also, perhaps more importantly, > > > are there any plans to have Altivec and SPE in the same core? >

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-26 Thread Michael Ellerman
On Wed, 2007-09-26 at 00:37 -0500, Kumar Gala wrote: > On Sep 25, 2007, at 11:56 PM, Mark Nelson wrote: > > > Kumar Gala wrote: > >> > >> On Sep 25, 2007, at 8:22 PM, Mark Nelson wrote: > >> > >>> Kumar Gala wrote: > > On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: > > > Updat

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-26 Thread Matt Sealey
Segher Boessenkool wrote: Why not put the PVR in core dumps that'd make it all easier.. >>> >>> PVR wouldn't be very useful... What if you have altivec disabled ? Also >>> that would mean your gdb has to know about all new processors... >> >> Is that such a big deal? :D >> >> Hypothetically

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-26 Thread Segher Boessenkool
> Why not put the PVR in core dumps that'd make it all easier.. PVR wouldn't be very useful... What if you have altivec disabled ? Also that would mean your gdb has to know about all new processors... >>> >>> Is that such a big deal? :D >>> >>> Hypothetically it would be im

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-26 Thread Kumar Gala
On Sep 26, 2007, at 8:21 AM, Segher Boessenkool wrote: Why not put the PVR in core dumps that'd make it all easier.. >>> >>> PVR wouldn't be very useful... What if you have altivec disabled ? >>> Also >>> that would mean your gdb has to know about all new processors... >> >> Is that such a

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-26 Thread Segher Boessenkool
>>> Why not put the PVR in core dumps that'd make it all easier.. >> >> PVR wouldn't be very useful... What if you have altivec disabled ? >> Also >> that would mean your gdb has to know about all new processors... > > Is that such a big deal? :D > > Hypothetically it would be impossible to deter

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-26 Thread Matt Sealey
Benjamin Herrenschmidt wrote: > On Tue, 2007-09-25 at 19:00 +0100, Matt Sealey wrote: >> Kumar Gala wrote: >>> I'm wondering how we distinguish a core dump w/altivec state vs one >>> with SPE state. >> Sheer number of registers saved? >> >> Why not put the PVR in core dumps that'd make it all ea

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-26 Thread Geert Uytterhoeven
On Wed, 26 Sep 2007, Kumar Gala wrote: > On Sep 25, 2007, at 11:56 PM, Mark Nelson wrote: > > What cores have SPE at the moment? Also, perhaps more importantly, > > are there any plans to have Altivec and SPE in the same core? > > The e500 cores's from Freescale. > > No, they are pretty much mu

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-25 Thread Kumar Gala
On Sep 25, 2007, at 11:56 PM, Mark Nelson wrote: > Kumar Gala wrote: >> >> On Sep 25, 2007, at 8:22 PM, Mark Nelson wrote: >> >>> Kumar Gala wrote: On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: > Update dump_task_altivec() (that has so far never been put to use) > so tha

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-25 Thread Mark Nelson
Kumar Gala wrote: > > On Sep 25, 2007, at 8:22 PM, Mark Nelson wrote: > >> Kumar Gala wrote: >>> >>> On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: >>> Update dump_task_altivec() (that has so far never been put to use) so that it dumps the Altivec/VMX registers (VR[0] - VR[31], VSCR >

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-25 Thread Kumar Gala
On Sep 25, 2007, at 8:22 PM, Mark Nelson wrote: > Kumar Gala wrote: >> >> On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: >> >>> Update dump_task_altivec() (that has so far never been put to use) >>> so that it dumps the Altivec/VMX registers (VR[0] - VR[31], VSCR >>> and VRSAVE) in the same for

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-25 Thread Mark Nelson
Kumar Gala wrote: > > On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: > >> Update dump_task_altivec() (that has so far never been put to use) >> so that it dumps the Altivec/VMX registers (VR[0] - VR[31], VSCR >> and VRSAVE) in the same format as the ptrace get_vrregs() and add >> the appropriat

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-25 Thread Benjamin Herrenschmidt
On Tue, 2007-09-25 at 19:00 +0100, Matt Sealey wrote: > Kumar Gala wrote: > > On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: > > > >> Update dump_task_altivec() (that has so far never been put to use) > >> so that it dumps the Altivec/VMX registers (VR[0] - VR[31], VSCR > >> and VRSAVE) in the

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-25 Thread Matt Sealey
Kumar Gala wrote: > On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: > >> Update dump_task_altivec() (that has so far never been put to use) >> so that it dumps the Altivec/VMX registers (VR[0] - VR[31], VSCR >> and VRSAVE) in the same format as the ptrace get_vrregs() and add >> the appropriate

Re: [PATCH] add Altivec/VMX state to coredumps

2007-09-25 Thread Kumar Gala
On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote: > Update dump_task_altivec() (that has so far never been put to use) > so that it dumps the Altivec/VMX registers (VR[0] - VR[31], VSCR > and VRSAVE) in the same format as the ptrace get_vrregs() and add > the appropriate glue typedefs and #defines

[PATCH] add Altivec/VMX state to coredumps

2007-09-24 Thread Mark Nelson
Update dump_task_altivec() (that has so far never been put to use) so that it dumps the Altivec/VMX registers (VR[0] - VR[31], VSCR and VRSAVE) in the same format as the ptrace get_vrregs() and add the appropriate glue typedefs and #defines to include/asm-powerpc/elf.h for it to work. Signed-off-b