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-ppc-devel

[XenPPC] [PATCH 0 of 2] [PATCH] xen: flag gmfns as mfns

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [PATCH 0 of 2] [PATCH] xen: flag gmfns as mfns
From: Ryan Harper <ryanh@xxxxxxxxxx>
Date: Mon, 19 Mar 2007 17:38:26 -0500
Delivery-date: Mon, 19 Mar 2007 15:38:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
This patchset adds the ability to mark gmfn values indicating that they are 
mfns.  This disambiguates the case where a privileged domain might ask the 
hypervisor to insert a guest's mfn and the value is both a valid mfn, and a 
valid pfn for the priviledged domain.  

The flag is added to Xen, used in pfn2mfn(), and exported via the devtree to 
dom0.  A seperate patch to Linux reads the value of the flag and updates Linux 
to use the flag when mapping another domain's memory.

Signed-off-by: Ryan Harper <ryanh@xxxxxxxxxx>
5 files changed, 57 insertions(+), 31 deletions(-)
xen/arch/powerpc/domain_build.c     |   15 +++++----
xen/arch/powerpc/mm.c               |   56 ++++++++++++++++++++++-------------
xen/arch/powerpc/ofd_fixup.c        |    6 +++
xen/arch/powerpc/ofd_fixup_memory.c |    4 --
xen/include/asm-powerpc/mm.h        |    7 ++++
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
<Prev in Thread] Current Thread [Next in Thread>