Skip to content

x86/fpu: Remove CR0.TS support

Andy Lutomirski kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8fpu/init: Get rid of two redundant clts() callsarch/x86/kernel/fpu/init.c+0 -180 replies
2/8fpu/bugs: Stop saving and restoring CR0.TS in fpu__init_check_bugs()arch/x86/kernel/fpu/bugs.c+0 -70 replies
3/8x86/fpu: Remove irq_ts_save() and irq_ts_restore()arch/x86/include/asm/fpu/api.h arch/x86/kernel/fpu/core.c drivers/char/hw_random/via-rng.c +2 more+4 -840 replies
4/8x86/kvm: Remove host CR0.TS manipulationarch/x86/kvm/vmx.c arch/x86/kvm/x86.c+4 -130 replies
5/8lguest: Remove CR0.TS supportarch/x86/include/asm/lguest_hcall.h arch/x86/lguest/boot.c drivers/lguest/hypercalls.c +2 more+8 -340 replies
6/8x86/fpu: #NM without FPU emulation is an errorarch/x86/kernel/traps.c+16 -40 replies
7/8x86/fpu: Remove stts()arch/x86/include/asm/special_insns.h+0 -20 replies
8/8x86/fpu: Remove clts()arch/x86/include/asm/paravirt.h arch/x86/include/asm/paravirt_types.h arch/x86/include/asm/special_insns.h +5 more+0 -480 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/8] x86/fpu: Remove CR0.TS support

We don't do anything useful with CR0.TS anymore, so remove most of our support for it.

I havne't meaningfully tested lguest because I can't get it to work even without these patches.

Andy Lutomirski (8):
fpu/init: Get rid of two redundant clts() calls
fpu/bugs: Stop saving and restoring CR0.TS in fpu__init_check_bugs() x86/fpu: Remove irq_ts_save() and irq_ts_restore() x86/kvm: Remove host CR0.TS manipulation
lguest: Remove CR0.TS support
x86/fpu: #NM without FPU emulation is an error
x86/fpu: Remove stts()
x86/fpu: Remove clts()

 arch/x86/include/asm/fpu/api.h        | 10 ----------
 arch/x86/include/asm/lguest_hcall.h   |  1 -
 arch/x86/include/asm/paravirt.h       |  5 -----
 arch/x86/include/asm/paravirt_types.h |  2 --
 arch/x86/include/asm/special_insns.h  | 13 -------------
 arch/x86/kernel/fpu/bugs.c            |  7 -------
 arch/x86/kernel/fpu/core.c            | 29 -----------------------------
 arch/x86/kernel/fpu/init.c            | 18 ------------------
 arch/x86/kernel/paravirt.c            |  1 -
 arch/x86/kernel/paravirt_patch_32.c   |  2 --
 arch/x86/kernel/paravirt_patch_64.c   |  2 --
 arch/x86/kernel/traps.c               | 20 ++++++++++++++++----
 arch/x86/kvm/vmx.c                    | 12 ++++--------
 arch/x86/kvm/x86.c                    |  5 -----
 arch/x86/lguest/boot.c                | 29 +++++++----------------------
 arch/x86/xen/enlighten.c              | 13 -------------
 drivers/char/hw_random/via-rng.c      |  8 ++------
 drivers/crypto/padlock-aes.c          | 23 ++---------------------
 drivers/crypto/padlock-sha.c          | 18 ------------------
 drivers/lguest/hypercalls.c           |  4 ----
 drivers/lguest/lg.h                   |  1 -
 drivers/lguest/x86/core.c             | 19 +------------------
 22 files changed, 32 insertions(+), 210 deletions(-)
Signature · 1 line
2.7.4