linux_dsm_epyc7002/arch/x86/kernel/fpu
Ingo Molnar 89abbe01a4 x86/fpu: Move all eager-fpu setup code to eager_fpu_init()
The FPU context switch type (lazy or eager) setup code is split into
two places currently - move it all to eager_fpu_init().

Note that the code we move will now be executed on non-xstate CPUs
as well, but this should be safe: both xfeatures_mask and
cpu_has_xsaveopt is 0 there.

Reviewed-by: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-05-19 15:47:41 +02:00
..
core.c x86/fpu: Rename __thread_fpu_end() to fpregs_deactivate() 2015-05-19 15:47:37 +02:00
init.c x86/fpu: Set up the legacy FPU init image from fpu__init_system() 2015-05-19 15:47:41 +02:00
Makefile x86/fpu: Split out the boot time FPU init code into fpu/init.c 2015-05-19 15:47:16 +02:00
xsave.c x86/fpu: Move all eager-fpu setup code to eager_fpu_init() 2015-05-19 15:47:41 +02:00