xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: Xen-devel@lists.xensource.com,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	george.dunlap@eu.citrix.com, tim@xen.org, keir.xen@gmail.com,
	JBeulich@suse.com
Subject: Re: [V4 PATCH 6/7] pvh dom0: Add and remove foreign pages
Date: Tue, 3 Dec 2013 17:05:52 -0800	[thread overview]
Message-ID: <20131203170552.37c6426d@mantra.us.oracle.com> (raw)
In-Reply-To: <529E70B6.7060002@linaro.org>

On Wed, 04 Dec 2013 00:00:54 +0000
Julien Grall <julien.grall@linaro.org> wrote:

> 
> 
> On 12/03/2013 02:30 AM, Mukesh Rathor wrote:
> > In this patch, a new function, xenmem_add_foreign_to_pmap(), is
> > added
> 
> xenmem_add_foreign_to_p2m?
> 
> > to map pages from foreign guest into current dom0 for domU creation.
> > Such pages are typed p2m_map_foreign. Also, support is added here to
> > XENMEM_remove_from_physmap to remove such pages. Note, in the remove
> > path, we must release the refcount that was taken during the map
> > phase.
> 
> Your remove path is very interesting for the ARM port. For now we are 
> unable to unmap the foreign page because get_page() will always
> return NULL (as dom0 is not the owner).
> 
> I will give a try on ARM to see if it could resolve our problem.
> 

Don't know much about ARM, is the remove path failing to compile on it?
You can submit ARM modification patch after it's checked in?

thanks
mukesh

  reply	other threads:[~2013-12-04  1:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-03  2:30 [V4 PATCH 0/7]: PVH dom0 Mukesh Rathor
2013-12-03  2:30 ` [V4 PATCH 1/7] PVH dom0: move some pv specific code to static functions Mukesh Rathor
2013-12-03  2:30 ` [V4 PATCH 2/7] dom0: construct_dom0 changes Mukesh Rathor
2013-12-04 15:28   ` Jan Beulich
2013-12-03  2:30 ` [V4 PATCH 3/7] PVH dom0: implement XENMEM_add_to_physmap_range for x86 Mukesh Rathor
2013-12-03  2:30 ` [V4 PATCH 4/7] PVH dom0: Introduce p2m_map_foreign Mukesh Rathor
2013-12-03  2:30 ` [V4 PATCH 5/7] pvh: change xsm_add_to_physmap Mukesh Rathor
2013-12-03  2:30 ` [V4 PATCH 6/7] pvh dom0: Add and remove foreign pages Mukesh Rathor
2013-12-04  0:00   ` Julien Grall
2013-12-04  1:05     ` Mukesh Rathor [this message]
2013-12-04  9:44       ` Ian Campbell
2013-12-04 10:56       ` Stefano Stabellini
2013-12-04 17:00       ` Julien Grall
2013-12-05  1:40         ` Mukesh Rathor
2013-12-05 12:31           ` Julien Grall
2013-12-04  9:43     ` Ian Campbell
2013-12-05  2:09       ` Mukesh Rathor
2013-12-03  2:30 ` [V4 PATCH 7/7] pvh dom0: add opt_dom0pvh to setup.c Mukesh Rathor
2013-12-04 15:37 ` [V4 PATCH 0/7]: PVH dom0 Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131203170552.37c6426d@mantra.us.oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=Xen-devel@lists.xensource.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=julien.grall@linaro.org \
    --cc=keir.xen@gmail.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=tim@xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).