[PATCH] Add PTRACE_{GET|SET}VRREGS

Kumar Gala kumar.gala at freescale.com
Fri Sep 16 00:30:04 EST 2005


On Sep 15, 2005, at 6:13 AM, Paul Mackerras wrote:

> Kumar Gala writes:
>
>
>> Which is the same for ppc32 and ppc64, correct?
>>
>
> Yes.  However... 64-bit book E has a 64-bit USPRG0 register, which is
> the same SPR number as VRSAVE, right?  So will 64-bit book E want to
> use the VRSAVE context switch machinery for USPRG0?

Well, since we dont bother with USPRG0 on book-e proc's today I'm ok  
with considering it a 32-bit register intended for VRSAVE  
functionality only.

> As for the ptrace patch, I didn't want to include an unrelated cleanup
> (that of changing the type of thread_struct.vrsave) in that patch.

Understood.

- kumar





More information about the Linuxppc64-dev mailing list