WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] Fix a bug for XEN_VIRT_UC_BIT use.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Fix a bug for XEN_VIRT_UC_BIT use.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 01 Dec 2008 03:50:45 -0800
Delivery-date: Mon, 01 Dec 2008 03:53:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1226972035 -32400
# Node ID 008b68ff60959e4afa46981995b5ec2ee8caef0e
# Parent  90dd472694894be44cdd7964013fe9be46b4be9c
[IA64] Fix a bug for XEN_VIRT_UC_BIT use.

Only bit0 is used for dep later. So extract only used bit.

Signed-off-by: Zhang Xiantao <xiantao.zhang@xxxxxxxxx>
---
 xen/arch/ia64/vmx/vmx_ivt.S |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 90dd47269489 -r 008b68ff6095 xen/arch/ia64/vmx/vmx_ivt.S
--- a/xen/arch/ia64/vmx/vmx_ivt.S       Mon Nov 17 11:15:22 2008 +0900
+++ b/xen/arch/ia64/vmx/vmx_ivt.S       Tue Nov 18 10:33:55 2008 +0900
@@ -314,7 +314,7 @@ vmx_alt_itlb_miss_vmm:
     movl r19=(((1 << IA64_MAX_PHYS_BITS) - 1) & ~0xfff)
     ;;
     and r19=r19,r16     // clear ed, reserved bits, and PTE control bits
-    extr.u r18=r16,XEN_VIRT_UC_BIT, 15    // extract UC bit
+    extr.u r18=r16,XEN_VIRT_UC_BIT, 1     // extract UC bit
     ;;
     or r19=r17,r19      // insert PTE control bits into r19
     mov r20=IA64_GRANULE_SHIFT<<2

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Fix a bug for XEN_VIRT_UC_BIT use., Xen patchbot-unstable <=