[Cbe-oss-dev] GCC inline memcpy() from local store causes bad page fault

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Mar 21 13:14:09 EST 2007


> - TRAP: 0600 means alignment interrupt.
> 
> - Oops happened at inlined memcpy() in spufs/run.c:spu_process_callback().
>   (GCC generated inline copy loop to handle memcpy() instead of kernel
>    defined memcpy())
> 
> - Instruction dump said alignment interrupt happend by <7cbd04aa>
>   ("lswi    r5,r29,32").

This will also cause problems with userland. I though use of those
string instructions was deprecated a long time ago for performance
reasons anyway ... I'm surprised gcc still generates them.

Ben.





More information about the cbe-oss-dev mailing list