]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "MIPS: Don't assume 64-bit FP registers for context switch"
authorJames Hogan <james.hogan@imgtec.com>
Fri, 30 Jan 2015 12:09:38 +0000 (12:09 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 27 Mar 2015 18:42:48 +0000 (19:42 +0100)
commit921b87fba73bb22639fc9a78038a816b1984c7db
treeab9aa70efec2d0476dc3d05f209fd1db7c683b64
parentd7678b5da6bfe38c35c6e3c6b0011c52f2be4851
Revert "MIPS: Don't assume 64-bit FP registers for context switch"

This reverts commit 2dc1b00a6fccaf96fd6bdec8d98914733a350ea3.

The basic premise of the patch was incorrect since MSA context
(including FP state) is saved using st.d which stores two consecutive
64-bit words in memory rather than a single 128-bit word. This means
that even with big endian MSA, the FP state is still in the first 64-bit
word.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9168/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/asmmacro-32.h
arch/mips/include/asm/asmmacro.h
arch/mips/kernel/asm-offsets.c