Skip to content

x86: Switch X86_FEATURE_XENPV to cpu_feature_enabled() use

Juergen Gross lkml xen-devel 2 versions – Applied

Status from this message: The following commit has been merged into the x86/cpu branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 6 repliesApplied
  2. v14 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- new patch 4

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5x86: add X86_FEATURE_XENPV to disabled-features.harch/x86/include/asm/disabled-features.h+7 -11 reply
2/5x86: remove unneeded 64-bit dependency in arch_enter_from_user_mode()arch/x86/include/asm/entry-common.h+2 -21 reply
3/5x86: drop 32-bit Xen PV guest code in update_task_stack()arch/x86/include/asm/switch_to.h+2 -51 reply
4/5x86: remove X86_FEATURE_XENPV usage in setup_cpu_entry_area()arch/x86/mm/cpu_entry_area.c+2 -61 reply
5/5x86: switch to cpu_feature_enabled() for X86_FEATURE_XENPVarch/x86/kernel/cpu/amd.c arch/x86/kernel/cpu/bugs.c arch/x86/kernel/cpu/hygon.c +2 more+6 -61 reply

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchDave Hansen
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] x86: Switch X86_FEATURE_XENPV to cpu_feature_enabled() use

Make especially kernels without CONFIG_XEN_PV more efficient by using cpu_feature_enabled(X86_FEATURE_XENPV) instead of boot_cpu_has() and friends.

Changes in V2:
- new patch 4

Juergen Gross (5):
x86: add X86_FEATURE_XENPV to disabled-features.h
x86: remove unneeded 64-bit dependency in arch_enter_from_user_mode()
x86: drop 32-bit Xen PV guest code in update_task_stack()
x86: remove X86_FEATURE_XENPV usage in setup_cpu_entry_area()
x86: switch to cpu_feature_enabled() for X86_FEATURE_XENPV

 arch/x86/include/asm/disabled-features.h | 8 +++++++-
 arch/x86/include/asm/entry-common.h      | 4 ++--
 arch/x86/include/asm/switch_to.h         | 7 ++-----
 arch/x86/kernel/cpu/amd.c                | 2 +-
 arch/x86/kernel/cpu/bugs.c               | 2 +-
 arch/x86/kernel/cpu/hygon.c              | 2 +-
 arch/x86/kernel/process_64.c             | 4 ++--
 arch/x86/kernel/topology.c               | 2 +-
 arch/x86/mm/cpu_entry_area.c             | 8 ++------
 9 files changed, 19 insertions(+), 20 deletions(-)
Signature · 1 line
2.35.3