From: Paul Burton Date: Fri, 11 Jul 2014 15:44:29 +0000 (+0100) Subject: MIPS: preserve scalar FP CSR when switching vector context X-Git-Tag: cleanup-for-v3.18~94^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b83406735a4ae0aff4b614664d6a64a0fd6b9917;p=pandora-kernel.git MIPS: preserve scalar FP CSR when switching vector context Switching the vector context implicitly saves & restores the state of the aliased scalar FP data registers, however the scalar FP control & status register is distinct from the MSA control & status register. In order to allow scalar FP to function correctly in programs using MSA, the scalar CSR needs to be saved & restored along with the MSA vector context. Signed-off-by: Paul Burton Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7301/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed