[PATCH 0/3] FPU detection in C, second try

From: Borislav Petkov
Date: Mon Apr 29 2013 - 10:05:26 EST


From: Borislav Petkov <bp@xxxxxxx>

Right,

here's the fixed version which boots fine on everything I have here.
It would be nice if Ingo could test it on his K8 with the 32-bit
MATH_EMULATION config to make sure the corruptions don't happen anymore.

The second one is the sanity check for static_cpu_has which we discussed
yesterday.

And how cool is that: it already caught an unrelated issue in the FPU
code which resulted in patch #3. Fun.

Thanks.

Borislav Petkov (2):
x86: Sanity-check static_cpu_has usage
x86, FPU: Do not use static_cpu_has before alternatives

H. Peter Anvin (1):
x86: Get rid of ->hard_math and all the FPU asm fu

arch/x86/include/asm/cpufeature.h | 23 ++++++++++++++-
arch/x86/include/asm/fpu-internal.h | 4 +--
arch/x86/include/asm/processor.h | 3 +-
arch/x86/kernel/asm-offsets_32.c | 1 -
arch/x86/kernel/cpu/bugs.c | 21 ++-----------
arch/x86/kernel/cpu/common.c | 9 ++++--
arch/x86/kernel/cpu/cyrix.c | 2 +-
arch/x86/kernel/cpu/proc.c | 4 +--
arch/x86/kernel/head_32.S | 21 -------------
arch/x86/kernel/i387.c | 59 ++++++++++++++++++++++++++++++-------
arch/x86/kernel/xsave.c | 5 ++--
arch/x86/lguest/boot.c | 2 +-
arch/x86/xen/enlighten.c | 2 +-
13 files changed, 89 insertions(+), 67 deletions(-)

--
1.8.3.rc0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/