Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1192583

[PATCH 0/2] x86_64, xen: Simplify Xen SYSCALL handling

Path csiph.com!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Andy Lutomirski <luto@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 0/2] x86_64, xen: Simplify Xen SYSCALL handling
Date Mon, 27 Jul 2015 01:30:02 +0200
Message-ID <pQDwK-NF-11@gated-at.bofh.it> (permalink)
X-Original-To X86 ML <x86@kernel.org>, "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>, Andrew Cooper <andrew.cooper3@citrix.com>
X-Mailer git-send-email 2.4.3
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 24
Organization linux.* mail to news gateway
X-Original-Cc Boris Ostrovsky <boris.ostrovsky@oracle.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Borislav Petkov <bp@alien8.de>, Steven Rostedt <rostedt@goodmis.org>, Andy Lutomirski <luto@kernel.org>
X-Original-Date Sun, 26 Jul 2015 16:29:08 -0700
X-Original-Message-ID <cover.1437951794.git.luto@kernel.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1192583

Show key headers only | View raw


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] x86_64, xen: Simplify Xen SYSCALL handling Andy Lutomirski <luto@kernel.org> - 2015-07-27 01:30 +0200
  [PATCH 1/2] x86/entry/64: Rearrange SYSCALL entry points for Xen's benefit Andy Lutomirski <luto@kernel.org> - 2015-07-27 01:30 +0200
  [PATCH 2/2] x86/xen/64: Rearrange the SYSCALL entries Andy Lutomirski <luto@kernel.org> - 2015-07-27 01:30 +0200

csiph-web