From: Julien Grall <julien.grall@linaro.org>
To: Tim Deegan <tim@xen.org>, Ian Campbell <Ian.Campbell@citrix.com>
Cc: Keir Fraser <keir@xen.org>,
patches@linaro.org, George Dunlap <george.dunlap@eu.citrix.com>,
stefano.stabellini@citrix.com, Jan Beulich <jbeulich@suse.com>,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH v4 01/11] pvh dom0: Introduce p2m_map_foreign
Date: Mon, 16 Dec 2013 17:15:53 +0000 [thread overview]
Message-ID: <52AF3549.8000400@linaro.org> (raw)
In-Reply-To: <20131216105913.GA35881@deinos.phlegethon.org>
On 12/16/2013 10:59 AM, Tim Deegan wrote:
> At 10:45 +0000 on 16 Dec (1387187114), Ian Campbell wrote:
>> On Sat, 2013-12-14 at 00:00 +0000, Julien Grall wrote:
>>>
>>> On 12/13/2013 11:19 PM, Ian Campbell wrote:
>>>> On Fri, 2013-12-13 at 19:37 +0000, Julien Grall wrote:
>>>>> From: Mukesh Rathor <mukesh.rathor@oracle.com>
>>>>>
>>>>> In this patch, a new type p2m_map_foreign is introduced for pages
>>>>> that toolstack on PVH dom0 maps from foreign domains that its creating
>>>>> or supporting during it's run time.
>>>>>
>>>>> Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
>>>>> Cc: Jan Beulich <jbeulich@suse.com>
>>>>> Cc: Keir Fraser <keir@xen.org>
>>>>> Cc: George Dunlap <george.dunlap@eu.citrix.com>
>>>>>
>>>>> ---
>>>>> Changes in v4:
>>>>> - Use the patch #4 from dom0 pvh v6 series. We need it for ARM
>>>>
>>>> Is this really the right patch? I'd have thought it would need to
>>>> include some generic/!x86 bits but:
>>>
>>> This patch introduce p2m_map_foreign type. I think it's safe to push it
>>> without the other patches.
>>
>> Is it really that simple? I suppose there is nothing to create a foreign
>> mapping on x86 yet so this is harmless?
>
> Presumably you're about to add some common code that creates foreign
> mappings -- otherwise there would be no need to take the x86 patch.
> In that case, it's not really safe to take only part of the x86
> implementation. It'd be better to stub out any x86 interfaces with
> explicit errors, to be removed when x86 supports this properly.
This patch is no longer necessary. I have reworked my patch #8 to remove
modification in common code.
--
Julien Grall
next prev parent reply other threads:[~2013-12-16 17:15 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-13 19:37 [PATCH v4 00/11] xen/arm: Handle correctly foreign mapping Julien Grall
2013-12-13 19:37 ` [PATCH v4 01/11] pvh dom0: Introduce p2m_map_foreign Julien Grall
2013-12-13 23:19 ` Ian Campbell
2013-12-14 0:00 ` Julien Grall
2013-12-16 10:45 ` Ian Campbell
2013-12-16 10:59 ` Tim Deegan
2013-12-16 17:15 ` Julien Grall [this message]
2013-12-16 11:04 ` George Dunlap
2013-12-13 19:37 ` [PATCH v4 02/11] xen/arm: Introduce steps in domain_relinquish_resource Julien Grall
2013-12-13 19:37 ` [PATCH v4 03/11] xen/arm: move mfn_to_p2m_entry in arch/arm/p2m.c Julien Grall
2013-12-13 19:37 ` [PATCH v4 04/11] xen/arm: Implement p2m_type_t as an enum Julien Grall
2013-12-13 19:37 ` [PATCH v4 05/11] xen/arm: Store p2m type in each page of the guest Julien Grall
2013-12-13 19:37 ` [PATCH v4 06/11] xen/arm: p2m: Extend p2m_lookup parameters to retrieve the p2m type Julien Grall
2013-12-13 19:37 ` [PATCH v4 07/11] xen/arm: Retrieve p2m type in get_page_from_gfn Julien Grall
2013-12-13 19:37 ` [PATCH v4 08/11] xen/arm: Handle remove foreign mapping Julien Grall
2013-12-16 11:51 ` Tim Deegan
2013-12-16 11:55 ` Ian Campbell
2013-12-16 15:26 ` Tim Deegan
2013-12-16 15:34 ` Julien Grall
2013-12-16 15:40 ` Ian Campbell
2013-12-16 16:26 ` Julien Grall
2013-12-16 16:33 ` Ian Campbell
2013-12-16 16:40 ` Julien Grall
2013-12-16 17:06 ` Julien Grall
2013-12-16 17:21 ` Ian Campbell
2013-12-16 17:14 ` Julien Grall
2013-12-16 17:18 ` Ian Campbell
2013-12-13 19:37 ` [PATCH v4 09/11] xen/arm: Add relinquish_p2m_mapping to remove reference on every mapped page Julien Grall
2013-12-13 19:37 ` [PATCH v4 10/11] xen/arm: Set foreign page type to p2m_map_foreign Julien Grall
2013-12-13 19:37 ` [PATCH v4 11/11] xen/arm: grant-table: Support read-only mapping Julien Grall
2013-12-14 0:01 ` [PATCH v4 00/11] xen/arm: Handle correctly foreign mapping Julien Grall
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=52AF3549.8000400@linaro.org \
--to=julien.grall@linaro.org \
--cc=Ian.Campbell@citrix.com \
--cc=george.dunlap@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=keir@xen.org \
--cc=patches@linaro.org \
--cc=stefano.stabellini@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xenproject.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).