Skip to content
Commit 466aec5f authored by James Hogan's avatar James Hogan Committed by Ralf Baechle
Browse files

Revert "MIPS: Don't assume 64-bit FP registers for context switch"

This reverts commit 02987633

.

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: default avatarJames Hogan <james.hogan@imgtec.com>
Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9168/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 84ab45b3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment