|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
[XenPPC] [PATCH 0 of 2] [PATCH] xen: flag gmfns as mfns
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>
|
- [XenPPC] [PATCH 0 of 2] [PATCH] xen: flag gmfns as mfns,
Ryan Harper <=
|
|
|
|
|