]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Netlogic: COP2 save/restore code
authorJayachandran C <jchandra@broadcom.com>
Mon, 10 Jun 2013 06:30:04 +0000 (06:30 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 13 Jun 2013 15:46:41 +0000 (17:46 +0200)
commit0a2a774e35ccefe0e09cd57bee7e430392022bc6
treea9fda320023769a6f7991487fb6ff1604a8560c2
parente439d27adb7a05f755d995a8fc937a6cfd4e4205
MIPS: Netlogic: COP2 save/restore code

Add COP2 register state structure and functions for Netlogic XLP. The
RX and TX buffers and status registers are to be saved. Since the
registers are 64-bit, do the implementation in inline assembly which
works on both 32-bit and 64-bit kernels.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Cc: ddaney.cavm@gmail.com
Patchwork: https://patchwork.linux-mips.org/patch/5413/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/cop2.h
arch/mips/include/asm/processor.h
arch/mips/netlogic/xlp/Makefile
arch/mips/netlogic/xlp/cop2-ex.c [new file with mode: 0644]