MPC8540 : What's "SPE used in kernel" ?

Johannes Berg johannes at sipsolutions.net
Sat Feb 23 02:29:11 EST 2008


> I wonder why a kernel configured for E500 and compiled by a E500-specific gcc
> triggers this message.  Is it invalid to use SPE instructions in the kernel 
> or do I misunderstand the message ?

I think it's like floating point/altivec, we don't always save the FP
registers on kernel/userspace transitions and so have to explicitly save
them to use them in the kernel, otherwise we'd clobber the userspace
register state.

I guess there's something like kernel_enter_spe()?

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080222/3959e188/attachment.pgp>


More information about the Linuxppc-dev mailing list