[RFC PATCH 0/6] CPUID and FPU fixes

From: Andy Lutomirski
Date: Mon Dec 05 2016 - 20:01:21 EST


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.

Thoughts?

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 | 35 ++++++++++++++++++++++++-----------
arch/x86/kernel/fpu/init.c | 30 +++++++++++++++++-------------
arch/x86/kernel/fpu/xstate.c | 7 ++++++-
4 files changed, 48 insertions(+), 26 deletions(-)

--
2.9.3