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] Only set nocache flag on dom0 rang

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Only set nocache flag on dom0 ranges that do not support WB
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Jan 2007 21:10:39 -0800
Delivery-date: Thu, 18 Jan 2007 21:50:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 awilliam@xxxxxxxxxxxx
# Date 1167978090 25200
# Node ID 90db0f68b1219cb7e78df2a92fa33aa1c85b52f9
# Parent  0f571adbd70044cd5640ce53eb202a0233db7ce2
[IA64] Only set nocache flag on dom0 ranges that do not support WB

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/xen/dom_fw.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 0f571adbd700 -r 90db0f68b121 xen/arch/ia64/xen/dom_fw.c
--- a/xen/arch/ia64/xen/dom_fw.c        Thu Jan 04 16:25:14 2007 -0700
+++ b/xen/arch/ia64/xen/dom_fw.c        Thu Jan 04 23:21:30 2007 -0700
@@ -549,7 +549,8 @@ complete_dom0_memmap(struct domain *d,
                        flags = ASSIGN_writable;        /* dummy - zero */
                        if (md->attribute & EFI_MEMORY_WP)
                                flags |= ASSIGN_readonly;
-                       if (md->attribute & EFI_MEMORY_UC)
+                       if ((md->attribute & EFI_MEMORY_UC) &&
+                           !(md->attribute & EFI_MEMORY_WB))
                                flags |= ASSIGN_nocache;
 
                        assign_domain_mach_page(d, start, size, flags);

_______________________________________________
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] Only set nocache flag on dom0 ranges that do not support WB, Xen patchbot-unstable <=