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

[Xen-changelog] [xen-unstable] [IA64] Fix io access from the inside of UC physical address



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1204921600 25200
# Node ID 7619c93e60285922692f0d4719c956221ab53c5b
# Parent  43a87df9a11ebb013529571962472c364f7a4808
[IA64] 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>
---
 xen/arch/ia64/vmx/vmmu.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 43a87df9a11e -r 7619c93e6028 xen/arch/ia64/vmx/vmmu.c
--- a/xen/arch/ia64/vmx/vmmu.c  Fri Mar 07 13:11:35 2008 -0700
+++ b/xen/arch/ia64/vmx/vmmu.c  Fri Mar 07 13:26:40 2008 -0700
@@ -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 & ~(1UL << 63);     // clear UC bit
     }
     else {
         tlb = vtlb_lookup(vcpu, gip, ISIDE_TLB);

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


 


Rackspace

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