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] Update for cset 16067:9f9f9b68cd08

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Update for cset 16067:9f9f9b68cd08
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 09 Oct 2007 14:10:12 -0700
Delivery-date: Tue, 09 Oct 2007 14:10:46 -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 Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1191942343 -3600
# Node ID a18dbd4a96e68456dc0e2db3dc1268fce914dd40
# Parent  de68316bd2faf801447674387bd23f28b12090cc
[IA64] Update for cset 16067:9f9f9b68cd08
Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/xen/mm.c    |    7 +++++++
 xen/include/asm-ia64/mm.h |    3 +++
 2 files changed, 10 insertions(+)

diff -r de68316bd2fa -r a18dbd4a96e6 xen/arch/ia64/xen/mm.c
--- a/xen/arch/ia64/xen/mm.c    Mon Oct 08 13:43:17 2007 +0100
+++ b/xen/arch/ia64/xen/mm.c    Tue Oct 09 16:05:43 2007 +0100
@@ -2893,6 +2893,13 @@ arch_memory_op(int op, XEN_GUEST_HANDLE(
     return 0;
 }
 
+int
+iomem_page_test(unsigned long mfn, struct page_info *page)
+{
+       return unlikely(!mfn_valid(mfn)) ||
+              unlikely(page_get_owner(page) == dom_io);
+}
+
 /*
  * Local variables:
  * mode: C
diff -r de68316bd2fa -r a18dbd4a96e6 xen/include/asm-ia64/mm.h
--- a/xen/include/asm-ia64/mm.h Mon Oct 08 13:43:17 2007 +0100
+++ b/xen/include/asm-ia64/mm.h Tue Oct 09 16:05:43 2007 +0100
@@ -184,6 +184,9 @@ static inline int get_page(struct page_i
     while(unlikely((y = cmpxchg_acq((u64*)&page->count_info, x, nx)) != x));
     return 1;
 }
+
+/* Decide whether this page looks like iomem or real memory */
+int iomem_page_test(unsigned long mfn, struct page_info *page);
 
 extern void put_page_type(struct page_info *page);
 extern int get_page_type(struct page_info *page, u32 type);

_______________________________________________
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] Update for cset 16067:9f9f9b68cd08, Xen patchbot-unstable <=