]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: OCTEON: Save and restore CP2 SHA3 state
authorDavid Daney <david.daney@cavium.com>
Thu, 15 Jan 2015 13:11:07 +0000 (16:11 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 20 Feb 2015 14:29:08 +0000 (15:29 +0100)
commit7b88a98f534df4d524d5a5c7a96836cba26cd3ac
tree6315e36070f0d3ab2562382ffa624d1cb02d9e5b
parentb7ed716819a09e550a123bed2bccd471969b74a8
MIPS: OCTEON: Save and restore CP2 SHA3 state

Allocate new save space, and then save/restore the registers if
OCTEON III.

Signed-off-by: David Daney <david.daney@cavium.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/8935/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/processor.h
arch/mips/kernel/asm-offsets.c
arch/mips/kernel/octeon_switch.S