On Wed, May 9, 2012 at 1:20 PM, Maciej W. Rozycki <macro@xxxxxxxxxxxxxx> wrote: >> As the comment in commit 3301edcb says, DSP and MDMX share the same >> config flag bit. >> >> Without this set, MDMX instructions cause Illegal instruction errors. > > NAK, it's all pretty and nice, but I am afraid you're missing the point > with your change. The bit has its purpose, the MDMX accumulator has to be > saved and restored -- just as the DSP or the FPU context -- between task > switches and the bit provides for doing that lazily (of course you can do > that eagerly instead if you like). Okay. It looks like I also need to add save/restoring of the MDMX accumulator to arch/mips/power/cpu.c and arch/mips/include/asm/switch_to.h:finish_arch_switch()?