From: Andy Lutomirski <luto@kernel.org>
To: X86 ML <x86@kernel.org>
Cc: Borislav Petkov <bpetkov@suse.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Brian Gerst <brgerst@gmail.com>,
Dave Hansen <dave.hansen@intel.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Josh Poimboeuf <jpoimboe@redhat.com>,
Andy Lutomirski <luto@kernel.org>
Subject: [PATCH 0/2] KPTI: get rid of cpu_entry_area mapping duplication
Date: Fri, 1 Dec 2017 22:20:09 -0800 [thread overview]
Message-ID: <cover.1512195450.git.luto@kernel.org> (raw)
I like this variant much better. It might also fix the nasty bug tglx
and peterz were chasing.
Andy Lutomirski (2):
Undo the split of setup_cpu_entry_area
x86/kpti: Reference all cpu_entry_area pagetables in the usermode
tables
arch/x86/include/asm/fixmap.h | 14 +++++---
arch/x86/include/asm/kpti.h | 8 +++--
arch/x86/kernel/cpu/common.c | 3 --
arch/x86/kernel/smpboot.c | 2 ++
arch/x86/kernel/traps.c | 6 +++-
arch/x86/mm/kpti.c | 82 ++++++++++++++++++++++++++-----------------
6 files changed, 71 insertions(+), 44 deletions(-)
--
2.13.6
next reply other threads:[~2017-12-02 6:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-02 6:20 Andy Lutomirski [this message]
2017-12-02 6:20 ` [PATCH 1/2] Undo the split of setup_cpu_entry_area Andy Lutomirski
2017-12-02 10:34 ` Thomas Gleixner
2017-12-02 10:47 ` Thomas Gleixner
2017-12-02 13:34 ` Andy Lutomirski
2017-12-02 14:20 ` Thomas Gleixner
2017-12-02 6:20 ` [PATCH 2/2] x86/kpti: Reference all cpu_entry_area pagetables in the usermode tables Andy Lutomirski
2017-12-02 10:38 ` Thomas Gleixner
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.1512195450.git.luto@kernel.org \
--to=luto@kernel.org \
--cc=bpetkov@suse.de \
--cc=brgerst@gmail.com \
--cc=dave.hansen@intel.com \
--cc=jpoimboe@redhat.com \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome