diff options
author | David Daney <david.daney@cavium.com> | 2015-01-15 08:11:07 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-02-20 09:29:08 -0500 |
commit | 6b3a287e6351b00df6624b41c160e1c0817f40e2 (patch) | |
tree | 6315e36070f0d3ab2562382ffa624d1cb02d9e5b /arch/mips/kernel/asm-offsets.c | |
parent | d6e41525e356a8dc4b9ad6249a644d4123240881 (diff) |
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>
Diffstat (limited to 'arch/mips/kernel/asm-offsets.c')
-rw-r--r-- | arch/mips/kernel/asm-offsets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/asm-offsets.c b/arch/mips/kernel/asm-offsets.c index 7b6c11aa1cae..dad6ce602a7c 100644 --- a/arch/mips/kernel/asm-offsets.c +++ b/arch/mips/kernel/asm-offsets.c | |||
@@ -383,6 +383,7 @@ void output_octeon_cop2_state_defines(void) | |||
383 | OFFSET(OCTEON_CP2_GFM_RESULT, octeon_cop2_state, cop2_gfm_result); | 383 | OFFSET(OCTEON_CP2_GFM_RESULT, octeon_cop2_state, cop2_gfm_result); |
384 | OFFSET(OCTEON_CP2_HSH_DATW, octeon_cop2_state, cop2_hsh_datw); | 384 | OFFSET(OCTEON_CP2_HSH_DATW, octeon_cop2_state, cop2_hsh_datw); |
385 | OFFSET(OCTEON_CP2_HSH_IVW, octeon_cop2_state, cop2_hsh_ivw); | 385 | OFFSET(OCTEON_CP2_HSH_IVW, octeon_cop2_state, cop2_hsh_ivw); |
386 | OFFSET(OCTEON_CP2_SHA3, octeon_cop2_state, cop2_sha3); | ||
386 | OFFSET(THREAD_CP2, task_struct, thread.cp2); | 387 | OFFSET(THREAD_CP2, task_struct, thread.cp2); |
387 | OFFSET(THREAD_CVMSEG, task_struct, thread.cvmseg.cvmseg); | 388 | OFFSET(THREAD_CVMSEG, task_struct, thread.cvmseg.cvmseg); |
388 | BLANK(); | 389 | BLANK(); |