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 0/12] vti fault handler clean up take 2

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [PATCH 0/12] vti fault handler clean up take 2
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Mon, 3 Dec 2007 15:02:17 +0900
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Delivery-date: Sun, 02 Dec 2007 22:02:44 -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
Hi. This patch series cleans up VTi domain's fault handler TAKE2.
It improves VTi domain panic path and VTI_DEBUG option.

- white space clean up of vmx_minstate.h and vmx_ivt.S

- VTI_DEBUG
There remained vti debug code With VTI_DEBUG option, but it doesn't seem
to work. Make it work introducing vti_debug option.

- vmx panic path improvement
Currently when VTi fault handler finds something wrong, it enters
vmx_panic infinit loop with interrupt masked. But it make debug hard.
It would be desirable to call panic() to print something.
Sometimes the current behaviour makes sense so that I kept the old behaviour
with vmx_panic option.

- VTi external interrupt handler consolidastion

- changes from the previsou version
  Despite of patch reorganization, the essential changes from the previous
  version is as follows.
  This explains why windows results in BSOD.
  It was just lucky For Linux case.

diff -r c66cdc3331ff xen/arch/ia64/vmx/vmx_minstate.h
--- a/xen/arch/ia64/vmx/vmx_minstate.h  Mon Dec 03 12:53:37 2007 +0900
+++ b/xen/arch/ia64/vmx/vmx_minstate.h  Mon Dec 03 13:01:00 2007 +0900
@@ -201,13 +201,13 @@
 .mem.offset 8,0; st8.spill [r17]=r3,16;                                        
         \
     adds r2=IA64_PT_REGS_R16_OFFSET,r1;                                        
         \
     ;;                                                                         
         \
-    adds r16=IA64_VCPU_IIPA_OFFSET,r13;                                        
         \
-    adds r17=IA64_VCPU_ISR_OFFSET,r13;                                         
         \
-    mov r26=cr.iipa;                                                           
         \
-    mov r27=cr.isr;                                                            
         \
-    ;;                                                                         
         \
-    st8 [r16]=r26;                                                             
         \
-    st8 [r17]=r27;                                                             
         \
+(pUStk) adds r16=IA64_VCPU_IIPA_OFFSET,r13;                                    
         \
+(pUStk) adds r17=IA64_VCPU_ISR_OFFSET,r13;                                     
         \
+(pUStk) mov r26=cr.iipa;                                                       
         \
+(pUStk) mov r27=cr.isr;                                                        
         \
+    ;;                                                                         
         \
+(pUStk) st8 [r16]=r26;                                                         
         \
+(pUStk) st8 [r17]=r27;                                                         
         \
     ;;                                                                         
         \
     EXTRA;                                                                     
         \
     mov r8=ar.ccv;                                                             
         \

_______________________________________________
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 0/12] vti fault handler clean up take 2, Isaku Yamahata <=