diff options
| author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-11-26 00:15:38 +0300 |
|---|---|---|
| committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-12-03 22:14:54 +0300 |
| commit | 6aaf5d633bb6cead81b396d861d7bae4b9a0ba7e (patch) | |
| tree | 3bd503d3e7b9aa84c1ab618c53c1b1eadad87c83 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 922cc38ab71d1360978e65207e4a4f4988987127 (diff) | |
| download | linux-6aaf5d633bb6cead81b396d861d7bae4b9a0ba7e.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
