On 24/09/14 10:45, Paul Burton wrote: > This series fixes a bunch of bugs, both build & runtime, with FP & MSA > support. Most of them only affect systems with the new FP modes & MSA > support enabled but patch 6 in particular is more general, fixing > problems for mips64 systems. I don't claim to be particularly familiar with much of this code, but FWIW I've read it through and haven't spotted anything wrong aside from what has already been mentioned. Thanks James > > James Hogan (2): > Revert "MIPS: Don't assume 64-bit FP registers for context switch" > MIPS: MSA: Fix big-endian FPR_IDX implementation > > Paul Burton (9): > MIPS: push .set arch=r4000 into the functions needing it > MIPS: assume at as source/dest of MSA copy/insert instructions > MIPS: remove MSA macro recursion > MIPS: wrap cfcmsa & ctcmsa accesses for toolchains with MSA support > MIPS: clear MSACSR cause bits when handling MSA FP exception > MIPS: fix mfc1 & mfhc1 emulation for mips64 systems > MIPS: ensure FCSR cause bits are clear after invoking FPU emulator > MIPS: prevent FP context set via ptrace being discarded > MIPS: disable FPU if the mode is unsupported > > arch/mips/include/asm/asmmacro-32.h | 128 ++++++++++----------- > arch/mips/include/asm/asmmacro.h | 218 +++++++++++++++++++++--------------- > arch/mips/include/asm/fpu.h | 19 ++-- > arch/mips/include/asm/processor.h | 2 +- > arch/mips/kernel/asm-offsets.c | 66 ----------- > arch/mips/kernel/genex.S | 11 +- > arch/mips/kernel/ptrace.c | 30 ++++- > arch/mips/kernel/r4k_fpu.S | 13 ++- > arch/mips/kernel/traps.c | 17 +-- > arch/mips/math-emu/cp1emu.c | 6 +- > 10 files changed, 262 insertions(+), 248 deletions(-) >