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 <[EMAIL PROTECTED]>
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

Reply via email to