• Ingo Molnar's avatar
    x86/fpu: Do CLTS fpu__init_system() · 530b37e4
    Ingo Molnar authored
    mxcsr_feature_mask_init() depends on TS being cleared, as it executes
    an FXSAVE instruction.
    
    After later changes we will move the TS setup into fpu__init_cpu(),
    which will interact with this - so clear the TS flag explicitly.
    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>
    530b37e4
init.c 5.84 KB