From: "Jan Beulich" Subject: Re: [V7 PATCH 3/7] pvh dom0: implement XENMEM_add_to_physmap_range for x86 Date: Wed, 18 Dec 2013 10:55:29 +0000 Message-ID: <52B18D31020000780010EA29@nat28.tlf.novell.com> References: <1387247911-28846-1-git-send-email-mukesh.rathor@oracle.com> <1387247911-28846-4-git-send-email-mukesh.rathor@oracle.com> <52B05A9A020000780010E22C@nat28.tlf.novell.com> <1387288771.27441.59.camel@kazak.uk.xensource.com> <52B06F8B020000780010E2B8@nat28.tlf.novell.com> <1387291240.27441.66.camel@kazak.uk.xensource.com> <52B0779B020000780010E366@nat28.tlf.novell.com> <52B16303020000780010E882@nat28.tlf.novell.com> <1387361225.27441.91.camel@kazak.uk.xensource.com> <52B18847020000780010E9EC@nat28.tlf.novell.com> <1387363309.27441.96.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VtF6i-00028A-9v for xen-devel@lists.xenproject.org; Wed, 18 Dec 2013 11:16:04 +0000 In-Reply-To: <1387363309.27441.96.camel@kazak.uk.xensource.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: george.dunlap@eu.citrix.com, xen-devel , Keir Fraser , tim@xen.org List-Id: xen-devel@lists.xenproject.org >>> On 18.12.13 at 11:41, Ian Campbell wrote: > On Wed, 2013-12-18 at 10:34 +0000, Jan Beulich wrote: >> >>> On 18.12.13 at 11:07, Ian Campbell wrote: >> > The alternative is to use MEMOP_EXTENT_SHIFT/MEMOP_CMD_MASK? I'd rather >> > avoid that if we don't have to... >> >> Admittedly it's not the nicest model, but that's how other memops >> work. Question really is whether we want to allow the inconsistency >> here, or generally allow the modification of documented to be input >> only interface structure fields. > > If you want to fix x86 then I don't mind making arm follow suit. (If you > wanted to do the arm change at the same time I would be very happy of > course, it should be mechanically pretty similar to the x86 change). I'll see how ugly it ends up being. > We could also consider taking my fix to count forward immediately, to > remove one inconsistency and remove the other issue afterwards, since > coming to rely on backwards processing is a harder hole to get out of > than going from modifying the strict to not. Yes, we should certainly do that as a first step. Jan