linux_dsm_epyc7002/arch/sh/kernel/cpu/sh2a
Paul Mundt 0ea820cf9b sh: Move over to dynamically allocated FPU context.
This follows the x86 xstate changes and implements a task_xstate slab
cache that is dynamically sized to match one of hard FP/soft FP/FPU-less.

This also tidies up and consolidates some of the SH-2A/SH-4 FPU
fragmentation. Now fpu state restorers are commonly defined, with the
init_fpu()/fpu_init() mess reworked to follow the x86 convention.
The fpu_init() register initialization has been replaced by xstate setup
followed by writing out to hardware via the standard restore path.

As init_fpu() now performs a slab allocation a secondary lighterweight
restorer is also introduced for the context switch.

In the future the DSP state will be rolled in here, too.

More work remains for math emulation and the SH-5 FPU, which presently
uses its own special (UP-only) interfaces.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-01-13 12:51:40 +09:00
..
clock-sh7201.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
clock-sh7203.c sh: clkfwk: Add a followparent_recalc() helper. 2009-05-12 03:50:44 +09:00
clock-sh7206.c sh: clkfwk: Make recalc return an unsigned long. 2009-05-12 03:45:08 +09:00
entry.S sh: Make sure rte delay slots are nopped out on all parts. 2009-08-15 07:41:45 +09:00
ex.S sh2(A) exception handler update 2008-07-28 18:10:34 +09:00
fpu.c sh: Move over to dynamically allocated FPU context. 2010-01-13 12:51:40 +09:00
Makefile sh: Add support for SH7201 CPU subtype. 2008-12-22 18:43:50 +09:00
opcode_helper.c sh: Support for SH-2A 32-bit opcodes. 2007-05-09 01:35:01 +00:00
pinmux-sh7203.c sh: improve pinmux support for single direction pins 2008-10-22 18:34:16 +09:00
probe.c sh: Track the CPU family in sh_cpuinfo. 2009-08-15 10:48:13 +09:00
setup-mxg.c sh: sh2a scif pdata (sh7201/sh7203/sh7206/mxg) 2009-12-15 12:06:31 +09:00
setup-sh7201.c sh: sh2a scif pdata (sh7201/sh7203/sh7206/mxg) 2009-12-15 12:06:31 +09:00
setup-sh7203.c sh: sh2a scif pdata (sh7201/sh7203/sh7206/mxg) 2009-12-15 12:06:31 +09:00
setup-sh7206.c sh: sh2a scif pdata (sh7201/sh7203/sh7206/mxg) 2009-12-15 12:06:31 +09:00