|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [PATCH 0/12] vti fault handler clean up take 2
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 <=
|
|
|
|
|