[for-4.13,v3,0/7] Unbreak evaluate_nospec() and livepatching
mbox series

Message ID 20191023135812.21348-1-andrew.cooper3@citrix.com
Headers show
Series
  • Unbreak evaluate_nospec() and livepatching
Related show

Message

Andrew Cooper Oct. 23, 2019, 1:58 p.m. UTC
This resolves an oustanding blocker for 4.13, fixing both the code generation
for evaulate_nospec(), and making the resulting hypervisor able to be
livepatched.

Andrew Cooper (6):
  x86/nospec: Two trivial fixes
  xen/nospec: Use always_inline to fix code gen for evaluate_nospec
  xen/nospec: Introduce CONFIG_SPECULATIVE_HARDEN_BRANCH
  x86/nospec: Rename and rework l1tf-barrier as branch-harden
  x86/nospec: Move array_index_mask_nospec() into nospec.h
  x86/nospec: Optimise array_index_mask_nospec() for power-of-2 arrays

Ross Lagerwall (1):
  x86/livepatch: Fail the build if duplicate symbols exist

 docs/misc/xen-command-line.pandoc   | 11 +++++-----
 xen/arch/x86/Makefile               |  1 +
 xen/arch/x86/domain.c               |  2 +-
 xen/arch/x86/pv/mm.h                | 12 +++++------
 xen/arch/x86/spec_ctrl.c            | 18 +++++++---------
 xen/common/Kconfig                  | 41 +++++++++++++++++++++++++++++++++++--
 xen/include/asm-x86/cpufeatures.h   |  2 +-
 xen/include/asm-x86/event.h         |  2 +-
 xen/include/asm-x86/guest_pt.h      | 28 ++++++++++++++-----------
 xen/include/asm-x86/hvm/nestedhvm.h |  2 +-
 xen/include/asm-x86/nospec.h        | 41 ++++++++++++++++++++++++++++++++++---
 xen/include/asm-x86/paging.h        |  2 +-
 xen/include/asm-x86/spec_ctrl.h     |  2 +-
 xen/include/asm-x86/system.h        | 24 ----------------------
 xen/include/xen/config.h            |  1 +
 xen/include/xen/nospec.h            |  6 ++++--
 xen/include/xen/sched.h             | 20 +++++++++---------
 xen/tools/kconfig/allrandom.config  |  1 +
 xen/tools/symbols.c                 | 11 ++++++++--
 19 files changed, 143 insertions(+), 84 deletions(-)