[PATCH 0/4] Switch X86_FEATURE_XENPV to cpu_feature_enabled() use

Juergen Gross posted 4 patches 1 year, 6 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
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             | 2 +-
9 files changed, 18 insertions(+), 15 deletions(-)
[PATCH 0/4] Switch X86_FEATURE_XENPV to cpu_feature_enabled() use
Posted by Juergen Gross 1 year, 6 months ago
Make especially kernels without CONFIG_XEN_PV more efficient by
using cpu_feature_enabled(X86_FEATURE_XENPV) instead of boot_cpu_has()
and friends.

Juergen Gross (4):
  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: 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             | 2 +-
 9 files changed, 18 insertions(+), 15 deletions(-)

-- 
2.35.3