MIPS: Add MSA register definitions & access
authorPaul Burton <paul.burton@imgtec.com>
Mon, 27 Jan 2014 15:23:09 +0000 (15:23 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:10 +0000 (23:09 +0100)
commit7f65afb97f279d9d02d0779384e8bd5ace064dea
treedc478d16bb3d470e5dcd4b167c969656ac7a874e
parent02987633df7ba2f62967791dda816eb191d1add3
MIPS: Add MSA register definitions & access

This patch introduces definitions for the MSA control registers and
functions which allow access to both the control & vector registers. If
the toolchain being used to build the kernel includes support for MSA
then this patch will make use of that support & use MSA instructions
directly. However toolchain support for MSA is very new & far from a
point where it can be reasonably expected that everyone building the
kernel uses a toolchain with support. Thus fallbacks using .word
assembler directives are also provided for now as a temporary measure.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6429/
Patchwork: https://patchwork.linux-mips.org/patch/6607/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Makefile
arch/mips/include/asm/asmmacro.h
arch/mips/include/asm/mipsregs.h
arch/mips/include/asm/msa.h [new file with mode: 0644]