Skip to content

x86/cpu: Some more cpu_has_YYY removal

Borislav Petkov dri-devel intel-gfx linux-crypto lkml virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10x86/cpufeature: Kill cpu_has_arch_perfmonarch/x86/include/asm/cpufeature.h arch/x86/oprofile/nmi_int.c arch/x86/oprofile/op_model_ppro.c+3 -40 replies
2/10x86/cpufeature: Kill cpu_has_hypervisorarch/x86/events/intel/cstate.c arch/x86/events/intel/uncore.c arch/x86/include/asm/cpufeature.h +3 more+5 -63 replies
3/10x86/cpufeature: Kill cpu_has_osxsavearch/x86/crypto/camellia_aesni_avx2_glue.c arch/x86/crypto/camellia_aesni_avx_glue.c arch/x86/crypto/serpent_avx2_glue.c +2 more+6 -60 replies
4/10x86/cpufeature: Kill cpu_has_x2apicarch/ia64/include/asm/iommu.h arch/x86/include/asm/apic.h arch/x86/include/asm/cpufeature.h +1 more+3 -51 reply
5/10x86/cpufeature: Kill cpu_has_gbpagesarch/x86/include/asm/cpufeature.h arch/x86/kvm/mmu.c arch/x86/mm/hugetlbpage.c +3 more+7 -70 replies
6/10x86/cpufeature: Kill cpu_has_clflusharch/x86/include/asm/cpufeature.h arch/x86/kernel/cpu/intel.c arch/x86/kernel/tce_64.c +3 more+7 -80 replies
7/10x86/cpufeature: Kill cpu_has_xmm2arch/x86/crypto/poly1305_glue.c arch/x86/crypto/serpent_sse2_glue.c arch/x86/include/asm/cpufeature.h +3 more+6 -70 replies
8/10x86/cpufeature: Kill cpu_has_patarch/x86/include/asm/cpufeature.h arch/x86/mm/pat.c drivers/gpu/drm/i915/i915_gem.c+3 -41 reply
9/10x86/cpufeature: Kill cpu_has_pgearch/x86/include/asm/cpufeature.h arch/x86/include/asm/tlbflush.h arch/x86/kernel/cpu/intel.c +5 more+11 -120 replies
10/10x86/cpufeature: Kill cpu_has_psearch/x86/include/asm/cpufeature.h arch/x86/include/asm/pgtable.h arch/x86/mm/init.c +5 more+9 -100 replies

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchDavid KershnerDaniel VetterBorislav Petkov
1/10
2/10T-b T-b A-b
3/10
4/10
5/10
6/10
7/10
8/10A-b
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/10] x86/cpu: Some more cpu_has_YYY removal

From: Borislav Petkov <[email protected]>

Here's another set of patches getting rid of cpu_has_YYY macros. Saving the best for last.

I did some build and boot tests but I'll let the 0day robot chew on it too.

Borislav Petkov (10):
x86/cpufeature: Kill cpu_has_arch_perfmon
x86/cpufeature: Kill cpu_has_hypervisor
x86/cpufeature: Kill cpu_has_osxsave
x86/cpufeature: Kill cpu_has_x2apic
x86/cpufeature: Kill cpu_has_gbpages
x86/cpufeature: Kill cpu_has_clflush
x86/cpufeature: Kill cpu_has_xmm2
x86/cpufeature: Kill cpu_has_pat
x86/cpufeature: Kill cpu_has_pge
x86/cpufeature: Kill cpu_has_pse

 arch/ia64/include/asm/iommu.h                  |  1 -
 arch/x86/crypto/camellia_aesni_avx2_glue.c     |  3 ++-
 arch/x86/crypto/camellia_aesni_avx_glue.c      |  2 +-
 arch/x86/crypto/poly1305_glue.c                |  2 +-
 arch/x86/crypto/serpent_avx2_glue.c            |  2 +-
 arch/x86/crypto/serpent_sse2_glue.c            |  2 +-
 arch/x86/events/intel/cstate.c                 |  2 +-
 arch/x86/events/intel/uncore.c                 |  2 +-
 arch/x86/include/asm/apic.h                    |  4 ++--
 arch/x86/include/asm/cpufeature.h              | 10 ----------
 arch/x86/include/asm/pgtable.h                 |  2 +-
 arch/x86/include/asm/tlbflush.h                |  2 +-
 arch/x86/include/asm/xor_avx.h                 |  4 ++--
 arch/x86/kernel/apic/apic.c                    |  2 +-
 arch/x86/kernel/cpu/amd.c                      |  2 +-
 arch/x86/kernel/cpu/intel.c                    | 10 +++++-----
 arch/x86/kernel/cpu/mtrr/cyrix.c               |  4 ++--
 arch/x86/kernel/cpu/mtrr/generic.c             |  4 ++--
 arch/x86/kernel/cpu/vmware.c                   |  2 +-
 arch/x86/kernel/kvm.c                          |  2 +-
 arch/x86/kernel/tce_64.c                       |  2 +-
 arch/x86/kvm/mmu.c                             |  3 ++-
 arch/x86/lib/usercopy_32.c                     |  4 ++--
 arch/x86/mm/hugetlbpage.c                      |  4 ++--
 arch/x86/mm/init.c                             |  8 ++++----
 arch/x86/mm/init_32.c                          |  2 +-
 arch/x86/mm/init_64.c                          |  4 ++--
 arch/x86/mm/ioremap.c                          |  4 ++--
 arch/x86/mm/pageattr.c                         |  4 ++--
 arch/x86/mm/pat.c                              |  4 ++--
 arch/x86/oprofile/nmi_int.c                    |  4 ++--
 arch/x86/oprofile/op_model_ppro.c              |  2 +-
 arch/x86/power/hibernate_32.c                  |  2 +-
 arch/x86/xen/enlighten.c                       |  4 ++--
 drivers/gpu/drm/drm_cache.c                    |  6 +++---
 drivers/gpu/drm/i915/i915_gem.c                |  2 +-
 drivers/gpu/drm/i915/i915_gem_execbuffer.c     |  2 +-
 drivers/lguest/x86/core.c                      |  2 +-
 drivers/staging/unisys/visorbus/visorchipset.c |  2 +-
 39 files changed, 60 insertions(+), 69 deletions(-)
Signature · 1 line
2.7.3