From: Paul Burton Date: Thu, 13 Feb 2014 11:27:42 +0000 (+0000) Subject: MIPS: Save/restore MSA context around signals X-Git-Tag: v3.15-rc1~125^2~123 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eec43a224cf198c7e3538fca16f689e4d17d4471;p=pandora-kernel.git MIPS: Save/restore MSA context around signals This patch extends sigcontext in order to hold the most significant 64 bits of each vector register in addition to the MSA control & status register. The least significant 64 bits are already saved as the scalar FP context. This makes things a little awkward since the least & most significant 64 bits of each vector register are not contiguous in memory. Thus the copy_u & insert instructions are used to transfer the values of the most significant 64 bits via GP registers. Signed-off-by: Paul Burton Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6533/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed