Skip to content

x86: FPU detection in C

Borislav Petkov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86: Get rid of ->hard_math and all the FPU asm fuarch/x86/include/asm/fpu-internal.h arch/x86/include/asm/processor.h arch/x86/kernel/asm-offsets_32.c +9 more+60 -650 replies
2/4x86: Fold-in trivial check_config functionarch/x86/kernel/cpu/bugs.c+11 -160 replies
3/4x86, AMD: Correct {rd,wr}msr_amd_safe warningsarch/x86/kernel/cpu/amd.c+4 -40 replies
4/4x86, CPU, AMD: Drop useless labelarch/x86/kernel/cpu/amd.c+3 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] x86: FPU detection in C

From: Borislav Petkov <[email protected]>

Hi,

so this is the final result. Patches boot on every qemu cpu model and on two baremetal configs here.

The three patches after yours are some small fixlets for issues I spotted while testing.

Thanks.

Borislav Petkov (3):
x86: Fold-in trivial check_config function
x86, AMD: Correct {rd,wr}msr_amd_safe warnings
x86, CPU, AMD: Drop useless label

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

 arch/x86/include/asm/fpu-internal.h |  2 --
 arch/x86/include/asm/processor.h    |  3 +-
 arch/x86/kernel/asm-offsets_32.c    |  1 -
 arch/x86/kernel/cpu/amd.c           | 17 +++++------
 arch/x86/kernel/cpu/bugs.c          | 48 ++++++++----------------------
 arch/x86/kernel/cpu/common.c        |  3 +-
 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, 78 insertions(+), 91 deletions(-)
Signature · 1 line
1.8.2.135.g7b592fa