public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] x86: Unify SYSENTER setup and add a 64-bit SYSENTER stack
@ 2015-07-23 15:31 Andy Lutomirski
  2015-07-23 15:31 ` [PATCH 1/5] x86/entry/32: Clean up enable_sep_cpu to prepare for 64-bit merge Andy Lutomirski
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Andy Lutomirski @ 2015-07-23 15:31 UTC (permalink / raw)
  To: X86 ML, linux-kernel
  Cc: Steven Rostedt, Willy Tarreau, Borislav Petkov, Thomas Gleixner,
	Peter Zijlstra, Linus Torvalds, Andy Lutomirski

These are boring patches.  They're a cleanup, and something like them is
mandatory if we want to wean the 64-bit #DB handler off IST.

The latter will be useful if we want to eliminate the IST reprogramming
that we during NMIs unless we ban #DB outright inside NMIs.  Even if we
ban #DB inside NMI, it'll still be nice to get reduce IST usage to the
bare minimum.

Andy Lutomirski (5):
  x86/entry/32: Clean up enable_sep_cpu to prepare for 64-bit merge
  x86/entry/64, entry: Set up a valid sysenter stack and prepare for
    32-bit merge
  x86/entry: Merge 32-bit and 64-bit sysenter setup code
  x86/entry: Only allocate space for SYSENTER_stack if needed
  x86/entry: Replace SWAPGS_UNSAFE_STACK with SWAPGS in
    entry_SYSENTER_compat

 arch/x86/entry/entry_64_compat.S |  2 +-
 arch/x86/include/asm/processor.h |  2 ++
 arch/x86/kernel/cpu/common.c     | 44 ++++++++++++++++++++++------------------
 3 files changed, 27 insertions(+), 21 deletions(-)

-- 
2.4.3


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-07-23 18:50 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-23 15:31 [PATCH 0/5] x86: Unify SYSENTER setup and add a 64-bit SYSENTER stack Andy Lutomirski
2015-07-23 15:31 ` [PATCH 1/5] x86/entry/32: Clean up enable_sep_cpu to prepare for 64-bit merge Andy Lutomirski
2015-07-23 15:56   ` Steven Rostedt
2015-07-23 16:02     ` Andy Lutomirski
2015-07-23 17:27       ` Brian Gerst
2015-07-23 18:01         ` Andy Lutomirski
2015-07-23 18:33           ` Andy Lutomirski
2015-07-23 18:42             ` Andy Lutomirski
2015-07-23 18:50               ` Linus Torvalds
2015-07-23 15:31 ` [PATCH 2/5] x86/entry/64, entry: Set up a valid sysenter stack and prepare for 32-bit merge Andy Lutomirski
2015-07-23 16:01   ` Steven Rostedt
2015-07-23 16:04     ` Andy Lutomirski
2015-07-23 16:10       ` Steven Rostedt
2015-07-23 16:46         ` Andy Lutomirski
2015-07-23 16:59           ` Steven Rostedt
2015-07-23 15:31 ` [PATCH 3/5] x86/entry: Merge 32-bit and 64-bit sysenter setup code Andy Lutomirski
2015-07-23 16:06   ` Steven Rostedt
2015-07-23 16:45     ` Andy Lutomirski
2015-07-23 15:31 ` [PATCH 4/5] x86/entry: Only allocate space for SYSENTER_stack if needed Andy Lutomirski
2015-07-23 15:31 ` [PATCH 5/5] x86/entry: Replace SWAPGS_UNSAFE_STACK with SWAPGS in entry_SYSENTER_compat Andy Lutomirski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox