All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] x86_64, xen: Simplify Xen SYSCALL handling
@ 2015-07-26 23:29 Andy Lutomirski
  2015-07-26 23:29 ` [PATCH 1/2] x86/entry/64: Rearrange SYSCALL entry points for Xen's benefit Andy Lutomirski
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Andy Lutomirski @ 2015-07-26 23:29 UTC (permalink / raw)
  To: X86 ML, xen-devel@lists.xen.org, Andrew Cooper
  Cc: Boris Ostrovsky, linux-kernel@vger.kernel.org, Borislav Petkov,
	Steven Rostedt, Andy Lutomirski

Xen's SYSCALL hooks are overcomplicated and add unnecessary places
where RSP is user controlled.  Simplify it and get rid of those user
RSP code paths under Xen.

Tested as an Intel KVM guest.  Not tested under Xen or on AMD, both
of which are important.

Andy Lutomirski (2):
  x86/entry/64: Rearrange SYSCALL entry points for Xen's benefit
  x86/xen/64: Rearrange the SYSCALL entries

 arch/x86/entry/entry_64.S        | 29 +++++++++++++++--------------
 arch/x86/entry/entry_64_compat.S | 12 +++++++-----
 arch/x86/xen/xen-asm_64.S        | 24 ++++++++++--------------
 3 files changed, 32 insertions(+), 33 deletions(-)

-- 
2.4.3


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/2] x86_64, xen: Simplify Xen SYSCALL handling
@ 2015-07-26 23:29 Andy Lutomirski
  0 siblings, 0 replies; 6+ messages in thread
From: Andy Lutomirski @ 2015-07-26 23:29 UTC (permalink / raw)
  To: X86 ML, xen-devel@lists.xen.org, Andrew Cooper
  Cc: Boris Ostrovsky, Andy Lutomirski, Borislav Petkov,
	linux-kernel@vger.kernel.org, Steven Rostedt

Xen's SYSCALL hooks are overcomplicated and add unnecessary places
where RSP is user controlled.  Simplify it and get rid of those user
RSP code paths under Xen.

Tested as an Intel KVM guest.  Not tested under Xen or on AMD, both
of which are important.

Andy Lutomirski (2):
  x86/entry/64: Rearrange SYSCALL entry points for Xen's benefit
  x86/xen/64: Rearrange the SYSCALL entries

 arch/x86/entry/entry_64.S        | 29 +++++++++++++++--------------
 arch/x86/entry/entry_64_compat.S | 12 +++++++-----
 arch/x86/xen/xen-asm_64.S        | 24 ++++++++++--------------
 3 files changed, 32 insertions(+), 33 deletions(-)

-- 
2.4.3

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-26 23:29 [PATCH 0/2] x86_64, xen: Simplify Xen SYSCALL handling Andy Lutomirski
2015-07-26 23:29 ` [PATCH 1/2] x86/entry/64: Rearrange SYSCALL entry points for Xen's benefit Andy Lutomirski
2015-07-26 23:29 ` Andy Lutomirski
2015-07-26 23:29 ` [PATCH 2/2] x86/xen/64: Rearrange the SYSCALL entries Andy Lutomirski
2015-07-26 23:29 ` Andy Lutomirski
  -- strict thread matches above, loose matches on Subject: below --
2015-07-26 23:29 [PATCH 0/2] x86_64, xen: Simplify Xen SYSCALL handling Andy Lutomirski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.