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. Changes in v2: - Rebase atop v3.19-rc6. 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 (8): 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: 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 | 2 +- arch/mips/kernel/traps.c | 17 +-- 9 files changed, 248 insertions(+), 245 deletions(-) -- 2.2.2