From: Andy Lutomirski <luto@kernel.org>
To: x86@kernel.org
Cc: Borislav Petkov <bp@alien8.de>,
LKML <linux-kernel@vger.kernel.org>,
Dave Hansen <dave.hansen@linux.intel.com>,
Adrian Hunter <adrian.hunter@intel.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Josh Poimboeuf <jpoimboe@redhat.com>,
Joerg Roedel <joro@8bytes.org>, Jiri Olsa <jolsa@redhat.com>,
Andi Kleen <ak@linux.intel.com>,
Peter Zijlstra <peterz@infradead.org>,
Andy Lutomirski <luto@kernel.org>
Subject: [PATCH 0/3] x86/pti: Get rid of entry trampolines and add some docs
Date: Fri, 31 Aug 2018 15:21:46 -0700 [thread overview]
Message-ID: <cover.1535753890.git.luto@kernel.org> (raw)
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.
Andy Lutomirski (3):
x86/entry/64: Document idtentry
x86/entry/64: Use the TSS sp2 slot for rsp_scratch
x86/pti/64: Remove the SYSCALL64 entry trampoline
arch/x86/entry/entry_64.S | 101 +++++++++-----------------
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/include/asm/thread_info.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 ++++++++-
13 files changed, 83 insertions(+), 139 deletions(-)
--
2.17.1
next reply other threads:[~2018-08-31 22:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-31 22:21 Andy Lutomirski [this message]
2018-08-31 22:21 ` [PATCH 1/3] x86/entry/64: Document idtentry Andy Lutomirski
2018-08-31 22:21 ` [PATCH 2/3] x86/entry/64: Use the TSS sp2 slot for rsp_scratch Andy Lutomirski
2018-09-01 16:33 ` Linus Torvalds
2018-09-01 17:29 ` Andy Lutomirski
2018-08-31 22:21 ` [PATCH 3/3] x86/pti/64: Remove the SYSCALL64 entry trampoline Andy Lutomirski
2018-09-01 16:34 ` [PATCH 0/3] x86/pti: Get rid of entry trampolines and add some docs Linus Torvalds
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1535753890.git.luto@kernel.org \
--to=luto@kernel.org \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=ak@linux.intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=jolsa@redhat.com \
--cc=joro@8bytes.org \
--cc=jpoimboe@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=torvalds@linux-foundation.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox