Our CPUID-less FPU detection code was terminally broken and, as far
as I can tell, it's been broken for a long, long time.  This series
tries to improve the situation.

Changes from v1:
 - Whitespace fixes
 - Prettify the FPU probing code (Borislav)
 - Improve logging (Borislav)

Andy Lutomirski (5):
  x86/cpu: Factor out application of forced cpu caps
  x86/cpu: Re-apply forced caps every time cpu caps are re-read
  x86/fpu: Fix "x86/fpu: Legacy x87 FPU detected" message
  x86/fpu: Fix CPUID-less FPU detection
  x86/fpu: Fix the "Giving up, no FPU found" test

Borislav Petkov (1):
  x86/cpu: Add X86_FEATURE_CPUID

 arch/x86/include/asm/cpufeatures.h |  2 +-
 arch/x86/kernel/cpu/common.c       | 34 +++++++++++++++++++++++-----------
 arch/x86/kernel/fpu/init.c         | 31 +++++++++++++++++--------------
 arch/x86/kernel/fpu/xstate.c       |  8 +++++++-
 4 files changed, 48 insertions(+), 27 deletions(-)

-- 
2.9.3

Reply via email to