Skip to content

x86/cpufeature: Bye bye cpu_has_YYY

Borislav Petkov kvm linux-crypto linux-iommu linux-pm lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10x86/cpufeature: Remove cpu_has_avx2arch/x86/crypto/camellia_aesni_avx2_glue.c arch/x86/crypto/chacha20_glue.c arch/x86/crypto/poly1305_glue.c +2 more+4 -50 replies
2/10x86/cpufeature: Remove cpu_has_aesarch/x86/crypto/camellia_aesni_avx2_glue.c arch/x86/crypto/camellia_aesni_avx_glue.c arch/x86/include/asm/cpufeature.h+5 -30 replies
3/10x86/cpufeature: Remove cpu_has_avxarch/x86/crypto/aesni-intel_glue.c arch/x86/crypto/camellia_aesni_avx2_glue.c arch/x86/crypto/camellia_aesni_avx_glue.c +7 more+13 -110 replies
4/10x86/cpufeature: Remove cpu_has_xmmarch/x86/include/asm/cpufeature.h arch/x86/include/asm/xor_32.h arch/x86/kernel/fpu/core.c +1 more+3 -40 replies
5/10x86/cpufeature: Remove cpu_has_fpuarch/x86/include/asm/cpufeature.h arch/x86/kernel/cpu/cyrix.c arch/x86/kernel/fpu/bugs.c +2 more+8 -90 replies
6/10x86/cpufeature: Remove cpu_has_tscarch/x86/include/asm/cpufeature.h arch/x86/include/asm/tsc.h arch/x86/kernel/apic/apic.c +4 more+20 -210 replies
7/10x86/cpufeature: Remove cpu_has_apicarch/x86/events/core.c arch/x86/include/asm/cpufeature.h arch/x86/include/asm/irq_work.h +16 more+32 -330 replies
8/10x86/cpufeature: Remove cpu_has_fxsrarch/x86/include/asm/cpufeature.h arch/x86/kernel/fpu/core.c arch/x86/kernel/fpu/init.c +1 more+14 -120 replies
9/10x86/cpufeature: Remove cpu_has_xsavearch/x86/ia32/ia32_signal.c arch/x86/include/asm/cpufeature.h arch/x86/kernel/fpu/regset.c +4 more+18 -190 replies
10/10x86/cpufeature: Remove cpu_has_xsavesarch/x86/include/asm/cpufeature.h arch/x86/kernel/fpu/xstate.c arch/x86/kvm/vmx.c +1 more+8 -140 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/10] x86/cpufeature: Bye bye cpu_has_YYY

From: Borislav Petkov <[email protected]>

Here are the final 10. cpu_has_YYY is gone now. Good riddance.

I have a bunch of misc cleanups on top, will send them tomorrow.

Thanks.

Borislav Petkov (10):
x86/cpufeature: Remove cpu_has_avx2
x86/cpufeature: Remove cpu_has_aes
x86/cpufeature: Remove cpu_has_avx
x86/cpufeature: Remove cpu_has_xmm
x86/cpufeature: Remove cpu_has_fpu
x86/cpufeature: Remove cpu_has_tsc
x86/cpufeature: Remove cpu_has_apic
x86/cpufeature: Remove cpu_has_fxsr
x86/cpufeature: Remove cpu_has_xsave
x86/cpufeature: Remove cpu_has_xsaves

 arch/x86/crypto/aesni-intel_glue.c         |  2 +-
 arch/x86/crypto/camellia_aesni_avx2_glue.c |  4 +++-
 arch/x86/crypto/camellia_aesni_avx_glue.c  |  4 +++-
 arch/x86/crypto/chacha20_glue.c            |  3 ++-
 arch/x86/crypto/poly1305_glue.c            |  3 ++-
 arch/x86/crypto/serpent_avx2_glue.c        |  2 +-
 arch/x86/crypto/sha1_ssse3_glue.c          |  2 +-
 arch/x86/crypto/sha256_ssse3_glue.c        |  2 +-
 arch/x86/crypto/sha512_ssse3_glue.c        |  2 +-
 arch/x86/events/core.c                     |  2 +-
 arch/x86/ia32/ia32_signal.c                |  2 +-
 arch/x86/include/asm/cpufeature.h          | 15 ---------------
 arch/x86/include/asm/irq_work.h            |  2 +-
 arch/x86/include/asm/tsc.h                 |  2 +-
 arch/x86/include/asm/xor_32.h              |  2 +-
 arch/x86/include/asm/xor_avx.h             |  4 ++--
 arch/x86/kernel/acpi/boot.c                |  8 ++++----
 arch/x86/kernel/apic/apic.c                | 30 +++++++++++++++---------------
 arch/x86/kernel/apic/apic_noop.c           |  4 ++--
 arch/x86/kernel/apic/io_apic.c             |  2 +-
 arch/x86/kernel/apic/ipi.c                 |  2 +-
 arch/x86/kernel/apic/vector.c              |  2 +-
 arch/x86/kernel/cpu/amd.c                  |  4 ++--
 arch/x86/kernel/cpu/common.c               |  2 +-
 arch/x86/kernel/cpu/cyrix.c                |  2 +-
 arch/x86/kernel/cpu/intel.c                |  2 +-
 arch/x86/kernel/cpu/mcheck/mce_intel.c     |  2 +-
 arch/x86/kernel/cpu/mcheck/therm_throt.c   |  2 +-
 arch/x86/kernel/devicetree.c               |  2 +-
 arch/x86/kernel/fpu/bugs.c                 |  2 +-
 arch/x86/kernel/fpu/core.c                 | 12 ++++++------
 arch/x86/kernel/fpu/init.c                 | 16 ++++++++--------
 arch/x86/kernel/fpu/regset.c               | 21 ++++++++++++---------
 arch/x86/kernel/fpu/xstate.c               | 18 +++++++++---------
 arch/x86/kernel/signal.c                   |  4 ++--
 arch/x86/kernel/smpboot.c                  |  2 +-
 arch/x86/kernel/tsc.c                      | 12 ++++++------
 arch/x86/kvm/cpuid.c                       |  2 +-
 arch/x86/kvm/vmx.c                         |  2 +-
 arch/x86/kvm/x86.c                         | 16 ++++++++--------
 arch/x86/oprofile/nmi_int.c                |  2 +-
 arch/x86/pci/xen.c                         |  2 +-
 drivers/cpufreq/longhaul.c                 |  2 +-
 drivers/input/joystick/analog.c            |  6 +++---
 drivers/iommu/irq_remapping.c              |  2 +-
 drivers/net/hamradio/baycom_epp.c          |  8 ++++----
 46 files changed, 120 insertions(+), 126 deletions(-)
Signature · 1 line
2.7.3