]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: OCTEON: Save/Restore wider multiply registers in OCTEON III CPUs
authorDavid Daney <david.daney@cavium.com>
Thu, 15 Jan 2015 13:11:05 +0000 (16:11 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 20 Feb 2015 14:28:29 +0000 (15:28 +0100)
commit06af503a9f02a385e9c2ae1bed2cf32f257d8f9b
tree11f0a5c443773f0e8f42d2029a3b95e3c5ae2230
parentd77ab7d239651db2744b2034ee4a5a2c07a889bb
MIPS: OCTEON: Save/Restore wider multiply registers in OCTEON III CPUs

The wide multiplier is twice as wide, so we need to save twice as much
state.  Detect the multiplier type (CPU type) at start up and install
model specific handlers.

[aleksey.makarov@auriga.com:
conflict resolution,
support for old compilers]

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Leonid Rosenboim <lrosenboim@caviumnetworks.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@auriga.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8933/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/setup.c
arch/mips/include/asm/octeon/octeon.h
arch/mips/include/asm/ptrace.h
arch/mips/kernel/octeon_switch.S