linux_dsm_epyc7002/arch/x86/kernel/fpu
Ingo Molnar 067051ccd2 x86/fpu: Do system-wide setup from fpu__detect()
fpu__cpu_init() is called on every CPU, so it is the wrong place
to call fpu__init_system() from. Call it from fpu__detect():
this is early CPU init code, but we already have CPU features detected,
so we can call the system-wide FPU init code from here.

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:43 +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: Do system-wide setup from fpu__detect() 2015-05-19 15:47:43 +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 eager_fpu_init() to fpu/init.c 2015-05-19 15:47:42 +02:00