Messages in this thread | | | From | Andy Lutomirski <> | Subject | [PATCH v2 0/3] x86/pti: Get rid of entry trampolines and add some docs | Date | Mon, 3 Sep 2018 15:59:41 -0700 |
| |
This gets rid of entry trampolines. It's more or less the same as the RFC version, except that I rebased it to v4.19-rc1 due to massive conflicts with some perf changes. I have *not* reverted all of the perf support for entry trampolines -- I leave that to the perf crew, if needed.
Changes from v1: Get rid of the rsp_scratch macro
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
arch/x86/entry/entry_64.S | 116 ++++++++++---------------- arch/x86/include/asm/cpu_entry_area.h | 2 - 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/common.c | 11 +-- 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/xen/xen-asm_64.S | 8 +- 13 files changed, 95 insertions(+), 149 deletions(-)
-- 2.17.1
| |