[GIT PULL] x86/asm changes for v4.20

From: Ingo Molnar
Date: Tue Oct 23 2018 - 07:15:09 EST


Linus,

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

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

# HEAD: ec3a94188df7d28b374868d9a2a0face910e62ab x86/fsgsbase/64: Clean up various details

The main changes in this cycle were the fsgsbase related preparatory
patches from Chang S. Bae - but there's also an optimized
memcpy_flushcache() and a cleanup for the __cmpxchg_double() assembly
glue.

Thanks,

Ingo

------------------>
Andy Lutomirski (1):
x86/fsgsbase/64: Fix ptrace() to read the FS/GS base accurately

Chang S. Bae (7):
x86/fsgsbase/64: Introduce FS/GS base helper functions
x86/fsgsbase/64: Make ptrace use the new FS/GS base helpers
x86/fsgsbase/64: Convert the ELF core dump code to the new FSGSBASE helpers
x86/fsgsbase/64: Factor out FS/GS segment loading from __switch_to()
x86/segments/64: Rename the GDT PER_CPU entry to CPU_NUMBER
x86/vdso: Introduce helper functions for CPU and node number
x86/vdso: Initialize the CPU/node NR segment descriptor earlier

Ingo Molnar (2):
x86/segments: Introduce the 'CPUNODE' naming to better document the segment limit CPU/node NR trick
x86/fsgsbase/64: Clean up various details

Mikulas Patocka (1):
x86/asm: Optimize memcpy_flushcache()

Uros Bizjak (1):
x86/asm: Use CC_SET()/CC_OUT() in __cmpxchg_double()


arch/x86/entry/vdso/vgetcpu.c | 8 +-
arch/x86/entry/vdso/vma.c | 38 +-------
arch/x86/include/asm/cmpxchg.h | 10 ++-
arch/x86/include/asm/elf.h | 6 +-
arch/x86/include/asm/fsgsbase.h | 49 +++++++++++
arch/x86/include/asm/segment.h | 46 +++++++++-
arch/x86/include/asm/string_64.h | 20 ++++-
arch/x86/include/asm/vgtod.h | 26 ------
arch/x86/kernel/cpu/common.c | 24 +++++
arch/x86/kernel/process_64.c | 183 ++++++++++++++++++++++++++++++---------
arch/x86/kernel/ptrace.c | 28 ++----
arch/x86/lib/usercopy_64.c | 4 +-
12 files changed, 299 insertions(+), 143 deletions(-)
create mode 100644 arch/x86/include/asm/fsgsbase.h