[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1536015544.git.luto@kernel.org>
Date: Mon, 3 Sep 2018 15:59:41 -0700
From: Andy Lutomirski <luto@...nel.org>
To: x86@...nel.org
Cc: Borislav Petkov <bp@...en8.de>,
LKML <linux-kernel@...r.kernel.org>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Adrian Hunter <adrian.hunter@...el.com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Joerg Roedel <joro@...tes.org>, Jiri Olsa <jolsa@...hat.com>,
Andi Kleen <ak@...ux.intel.com>,
Peter Zijlstra <peterz@...radead.org>,
Andy Lutomirski <luto@...nel.org>
Subject: [PATCH v2 0/3] x86/pti: Get rid of entry trampolines and add some docs
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
Powered by blists - more mailing lists