From: Alex Williamson Date: Fri, 7 Mar 2008 20:26:40 +0000 (-0700) Subject: [IA64] Fix io access from the inside of UC physical address X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14260 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=efbe429d2269df7c4a05a4993e0312bf21b592e6;p=xen.git [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 --- diff --git a/xen/arch/ia64/vmx/vmmu.c b/xen/arch/ia64/vmx/vmmu.c index 8097533403..671c503e17 100644 --- a/xen/arch/ia64/vmx/vmmu.c +++ b/xen/arch/ia64/vmx/vmmu.c @@ -160,7 +160,7 @@ fetch_code(VCPU *vcpu, u64 gip, IA64_BUNDLE *pbundle) 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);