[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-ia64-devel] [PATCH] fix io access from the inside of UC physical address



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.