|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-ia64-devel
[Xen-ia64-devel] [PATCH] fix io access from the inside of UC	physical ad 
| I/O access from the inside of UC physical address causes a panic on HVM.
Singed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
 diff -r 71a8366fb212 xen/arch/ia64/vmx/vmmu.c
--- a/xen/arch/ia64/vmx/vmmu.c  Fri Feb 29 09:19:58 2008 -0700
+++ b/xen/arch/ia64/vmx/vmmu.c  Fri Mar 07 19:34:21 2008 +0900
@@ -160,7 +160,7 @@ fetch_code(VCPU *vcpu, u64 gip, IA64_BUN
 
  again:
     if ( !(VCPU(vcpu, vpsr) & IA64_PSR_IT) ) {   // I-side physical mode
-        gpip = gip;
+        gpip = (gip<<1)>>1;    // clear UC bit
     }
     else {
         tlb = vtlb_lookup(vcpu, gip, ISIDE_TLB);
_______________________________________________
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] fix io access from the inside of UC	physical address,
Kouya Shimura <=
 |  |  | 
  
    |  |  |