• Ingo Molnar's avatar
    x86/fpu: Propagate once per boot quirk into fpu__init_system_xstate() · 62db6871
    Ingo Molnar authored
    Linearize the call sequence in xsave_init():
    
    	fpu__init_system_xstate();
    	fpu__init_cpu_xstate();
    
    We do this by propagating the boot-once quirk into
    fpu__init_system_xstate(). fpu__init_cpu_xstate() is
    safe to be called multiple time.
    Reviewed-by: default avatarBorislav 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: default avatarIngo Molnar <mingo@kernel.org>
    62db6871
xsave.c 20.1 KB