Skip to contentSkip to conversation

x86/pti changes for v4.20

GIT PULL Ingo Molnar 1 participant 1 message Oct 23, 2018

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest x86-pti-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-pti-for-linus

# HEAD: bb4b3b7762735cdaba5a40fd94c9303d9ffa147a x86/speculation: Propagate information about RSB filling mitigation to sysfs

The main changes:

- Make the IBPB barrier more strict and add STIBP support (Jiri Kosina)

- Micro-optimize and clean up the entry code (Andy Lutomirski)

- ... plus misc other fixes.

Thanks,

Ingo

out-of-topic modifications in x86-pti-for-linus:
--------------------------------------------------

  include/linux/ptrace.h             # dbfe2953f63c: x86/speculation: Apply IBPB 
  kernel/cpu.c                       # 53c613fe6349: x86/speculation: Enable cros
  kernel/ptrace.c                    # dbfe2953f63c: x86/speculation: Apply IBPB 

------------------>
Andy Lutomirski (3):
x86/entry/64: Document idtentry
x86/entry/64: Use the TSS sp2 slot for SYSCALL/SYSRET scratch space x86/pti/64: Remove the SYSCALL64 entry trampoline

Jiri Kosina (3):
x86/speculation: Apply IBPB more strictly to avoid cross-process data leak x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation x86/speculation: Propagate information about RSB filling mitigation to sysfs

Zhenzhong Duan (1):
x86/speculation: Add RETPOLINE_AMD support to the inline asm CALL_NOSPEC variant

zhong jiang (1):
x86/CPU: Fix unused variable warning when !CONFIG_IA32_EMULATION

 arch/x86/entry/entry_64.S             | 117 +++++++++++++---------------------
 arch/x86/include/asm/cpu_entry_area.h |   2 -
 arch/x86/include/asm/nospec-branch.h  |  17 +++--
 arch/x86/include/asm/processor.h      |   6 ++
 arch/x86/include/asm/sections.h       |   1 -
 arch/x86/kernel/asm-offsets.c         |   5 +-
 arch/x86/kernel/cpu/bugs.c            |  58 +++++++++++++++--
 arch/x86/kernel/cpu/common.c          |  16 +----
 arch/x86/kernel/kprobes/core.c        |  10 +--
 arch/x86/kernel/process_64.c          |   2 -
 arch/x86/kernel/traps.c               |   4 ++
 arch/x86/kernel/vmlinux.lds.S         |  10 ---
 arch/x86/mm/cpu_entry_area.c          |  36 -----------
 arch/x86/mm/pti.c                     |  33 +++++++++-
 arch/x86/mm/tlb.c                     |  31 +++++----
 arch/x86/xen/xen-asm_64.S             |   8 ++-
 include/linux/ptrace.h                |  21 +++++-
 kernel/cpu.c                          |  11 +++-
 kernel/ptrace.c                       |  10 +++
 19 files changed, 222 insertions(+), 176 deletions(-)