FPU detection in C, second try
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | x86: Get rid of ->hard_math and all the FPU asm fuarch/ arch/ arch/ +9 more | +60 | 0 replies | |
| 2/3 | x86: Sanity-check static_cpu_has usagearch/ arch/ | +28 | 1 reply | |
| 3/3 | x86, FPU: Do not use static_cpu_has before alternativesarch/ | +1 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] FPU detection in C, second try
From: Borislav Petkov <[email protected]>
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(-)
Signature · 1 line
1.8.3.rc0