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-changelog

[Xen-changelog] [xen-unstable] [IA64] vti fault handler clean up: clean

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] vti fault handler clean up: clean up VMX_DO_SAVE_MIN
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Jan 2008 01:10:38 -0800
Delivery-date: Wed, 23 Jan 2008 01:13:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1197663998 25200
# Node ID d0f0ed665d1aa548e96bceff36ea5df6bdf31d92
# Parent  81cee3aa9e909f612b12f777abb9ba3e5a857f4f
[IA64] vti fault handler clean up: clean up VMX_DO_SAVE_MIN

- p15 was set twice with same condition
- r1 was set to r21 via r16. using r16 doesn't make sense.
  direct set r1 to r21.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/vmx/vmx_minstate.h |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff -r 81cee3aa9e90 -r d0f0ed665d1a xen/arch/ia64/vmx/vmx_minstate.h
--- a/xen/arch/ia64/vmx/vmx_minstate.h  Fri Dec 14 13:24:44 2007 -0700
+++ b/xen/arch/ia64/vmx/vmx_minstate.h  Fri Dec 14 13:26:38 2007 -0700
@@ -107,7 +107,6 @@
  */
 
 #define VMX_DO_SAVE_MIN(COVER,SAVE_IFS,EXTRA)                                  
         \
-    VMX_MINSTATE_GET_CURRENT(r16);      /* M (or M;;I) */                      
         \
     mov r27=ar.rsc;                     /* M */                                
         \
     mov r20=r1;                         /* A */                                
         \
     mov r25=ar.unat;                    /* M */                                
         \
@@ -122,7 +121,7 @@
     ;;                                                                         
         \
 (p6)br.spnt.few vmx_panic;                                                     
         \
     tbit.z p0,p15=r29,IA64_PSR_I_BIT;                                          
         \
-    mov r1=r16;                                                                
         \
+    VMX_MINSTATE_GET_CURRENT(r1);      /* M (or M;;I) */                       
         \
     /*    mov r21=r16;  */                                                     
         \
     /* switch from user to kernel RBS: */                                      
         \
     ;;                                                                         
         \
@@ -137,7 +136,6 @@
     st8 [r16]=r29;      /* save cr.ipsr */                                     
         \
     ;;                                                                         
         \
     lfetch.fault.excl.nt1 [r17];                                               
         \
-    tbit.nz p15,p0=r29,IA64_PSR_I_BIT;                                         
         \
     mov r29=b0                                                                 
         \
     ;;                                                                         
         \
     adds r16=PT(R8),r1; /* initialize first base pointer */                    
         \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] vti fault handler clean up: clean up VMX_DO_SAVE_MIN, Xen patchbot-unstable <=