[PATCH 0/9] powerpc: Add kernel support for POWER7 VSX.

Michael Neuling mikey at neuling.org
Fri Jun 20 18:15:54 EST 2008



In message <B353EBCF-A080-41C7-B331-61D29C6F5C02 at kernel.crashing.org> you wrote
:
> 
> On Jun 19, 2008, at 11:13 PM, Michael Neuling wrote:
> 
> > The following set of patches adds Vector Scalar Extentions (VSX)
> > support for POWER7.  Includes context switch, ptrace and signals  
> > support.
> >
> > Signed-off-by: Michael Neuling <mikey at neuling.org>
> > ---
> > Paulus: please consider for your 2.6.27 tree.
> >
> > Updated with comments from Kumar, Milton, Dave Woodhouse and Mark
> > 'NKOTB' Nelson.
> > - Changed thread_struct array definition to be cleaner
> > - Updated CPU_FTRS_POSSIBLE
> > - Updated Kconfig typo and dupilicate
> > - Added comment to clarify ibm,vmx = 2 really means VSX.
> 
> One question I was wondering about is the "user space" view of VSX.   
> Is the intent to have it seem like there is a unique register set for  
> VSX separate from FP or AltiVec?

For userspace it's not a unique register set.  So if you execute FP code
in the middle of your VSX code, you change VSX registers 0-31.

Userspace will see the same as if it was running natively on the CPU.  

> (This gets into what the ABI changes look like).

Signals and ptrace interfaces have been kept backwards compatible.

Mikey



More information about the Linuxppc-dev mailing list