WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] [PATCH 3/12] fix vmx_switch_rr7

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH 3/12] fix vmx_switch_rr7
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Thu, 20 Dec 2007 16:37:04 +0900
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Delivery-date: Wed, 19 Dec 2007 23:37:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
# HG changeset patch
# User yamahata@xxxxxxxxxxxxx
# Date 1197967035 -32400
# Node ID 425cd56ef7a955c593cc70c1ea5755c0b72e97b2
# Parent  36157b55e141ab4f9bd3134bdcddd38c1f126666
fix vmx_switch_rr7(). uninitialized register r3 was used. initialize it.
PATCHNAME: fix_vmx_switch_rr7_initialize_r3

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff -r 36157b55e141 -r 425cd56ef7a9 xen/arch/ia64/vmx/vmx_entry.S
--- a/xen/arch/ia64/vmx/vmx_entry.S     Tue Dec 18 17:37:14 2007 +0900
+++ b/xen/arch/ia64/vmx/vmx_entry.S     Tue Dec 18 17:37:15 2007 +0900
@@ -634,7 +634,7 @@ 1:{
        movl loc2=PERCPU_ADDR
        ;;
        tpa loc2 = loc2                 // get physical address of per cpu date
-       ;;
+       tpa r3 = r8                     // get physical address of ip
        dep loc5 = 0,in1,60,4           // get physical address of guest_vhpt
        dep loc6 = 0,in2,60,4           // get physical address of pal code
        ;;
@@ -671,9 +671,7 @@ 1:
        mov cr.itir=r18
        mov cr.ifa=r17
        mov r16=IA64_TR_KERNEL
-       //mov r3=ip
        movl r25 = PAGE_KERNEL
-       ;;
        dep r2=0,r3,0,KERNEL_TR_PAGE_SHIFT
        ;;
        or r24=r2,r25

Attachment: 16635_425cd56ef7a9_fix_vmx_switch_rr7_initialize_r3.patch
Description: Text Data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] [PATCH 3/12] fix vmx_switch_rr7, Isaku Yamahata <=