Magellan Linux

Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1089-2.6.25-xen-DEBUG-xen_iret-always-return-through-the-hyperviso.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 606 - (show annotations) (download)
Thu May 22 23:13:13 2008 UTC (15 years, 11 months ago) by niro
File size: 771 byte(s)
-ver bump to 2.6.25-magellan-r1:
- linux-2.6.25.4
- fbcondecor-0.9.4
- squashfs-3.3
- unionfs-2.3.3
- tuxonice-3.0-rc7
- linux-phc-0.3.0
- acpi-dstd-0.9a
- reiser4
- xen-3.2.0
. ipw3945-1.2.2

1 From 741632830b8dafd50fbb4b382be683e360d4d29e Mon Sep 17 00:00:00 2001
2 From: Eduardo Habkost <ehabkost@redhat.com>
3 Date: Mon, 4 Feb 2008 18:11:05 -0200
4 Subject: [PATCH] DEBUG: xen_iret: always return through the hypervisor
5
6 Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
7 ---
8 arch/x86/xen/xen-asm_64.S | 3 +++
9 1 files changed, 3 insertions(+), 0 deletions(-)
10
11 diff --git a/arch/x86/xen/xen-asm_64.S b/arch/x86/xen/xen-asm_64.S
12 index 9ceaeab..95b3554 100644
13 --- a/arch/x86/xen/xen-asm_64.S
14 +++ b/arch/x86/xen/xen-asm_64.S
15 @@ -11,6 +11,9 @@ ENTRY(xen_iret_direct)
16 #define IRETOFFSET RIP
17
18 ENTRY(xen_iret)
19 + /*FIXME: for debugging */
20 + jmp xen_iret_slow
21 +
22 /* Are we returning to kernel space? */
23 testb $3,CS-IRETOFFSET(%rsp)
24 jnz xen_iret_slow
25 --
26 1.5.4.1
27