original_kernel/arch/x86/xen
Jeremy Fitzhardinge 6aaf5d633b xen: use iret for return from 64b kernel to 32b usermode
If Xen wants to return to a 32b usermode with sysret it must use the
right form.  When using VCGF_in_syscall to trigger this, it looks at
the code segment and does a 32b sysret if it is FLAT_USER_CS32.
However, this is different from __USER32_CS, so it fails to return
properly if we use the normal Linux segment.

So avoid the whole mess by dropping VCGF_in_syscall and simply use
plain iret to return to usermode.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Jan Beulich <jbeulich@novell.com>
Cc: Stable Kernel <stable@kernel.org>
2009-12-03 11:14:54 -08:00
..
Kconfig
Makefile
debugfs.c
debugfs.h
enlighten.c xen: register runstate info for boot CPU early 2009-12-03 11:14:53 -08:00
grant-table.c
irq.c
mmu.c xen: correctly restore pfn_to_mfn_list_list after resume 2009-12-03 11:14:51 -08:00
mmu.h
multicalls.c
multicalls.h
setup.c
smp.c xen: register runstate on secondary CPUs 2009-12-03 11:14:52 -08:00
spinlock.c
suspend.c xen: correctly restore pfn_to_mfn_list_list after resume 2009-12-03 11:14:51 -08:00
time.c xen: register timer interrupt with IRQF_TIMER 2009-12-03 11:14:52 -08:00
vdso.h
xen-asm.S
xen-asm.h
xen-asm_32.S
xen-asm_64.S xen: use iret for return from 64b kernel to 32b usermode 2009-12-03 11:14:54 -08:00
xen-head.S
xen-ops.h xen: correctly restore pfn_to_mfn_list_list after resume 2009-12-03 11:14:51 -08:00