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] don't change NaTPAGE into WB

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] don't change NaTPAGE into WB
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Jul 2006 16:20:55 +0000
Delivery-date: Fri, 28 Jul 2006 09:28:03 -0700
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@xxxxxxxxxxx
# Node ID dc26ac2f77180521d9523e917a19d974d2459b89
# Parent  d7a511069a3268163461b48ddade672698bab157
[IA64] don't change NaTPAGE into WB

Xen/IA64 changes memory attributes of tlb into WB to prevent domU from
uncachable access.  But NaTPage attribute need not to be changed to WB.
Linux uses NaTPage attributes.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
`
---
 xen/arch/ia64/xen/mm.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

diff -r d7a511069a32 -r dc26ac2f7718 xen/arch/ia64/xen/mm.c
--- a/xen/arch/ia64/xen/mm.c    Mon Jul 10 14:12:47 2006 -0600
+++ b/xen/arch/ia64/xen/mm.c    Mon Jul 10 14:14:11 2006 -0600
@@ -475,8 +475,11 @@ u64 translate_domain_pte(u64 pteval, u64
         * Don't let non-dom0 domains map uncached addresses.  This can
         * happen when domU tries to touch i/o port space.  Also prevents
         * possible address aliasing issues.
+        * WB => WB
+        * UC, UCE, WC => WB
+        * NaTPage => NaTPage
         */
-       if (d != dom0)
+       if (d != dom0 && (pteval2 & _PAGE_MA_MASK) != _PAGE_MA_NAT)
                pteval2 &= ~_PAGE_MA_MASK;
 
        return pteval2;

_______________________________________________
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] don't change NaTPAGE into WB, Xen patchbot-unstable <=