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

From: Andy Lutomirski
Date: Sun Jul 26 2015 - 19:29:43 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/