From: "Jan Beulich" Subject: Re: [PATCH v5 2/3] xen: introduce arch_grant_(un)map_page_identity Date: Mon, 28 Jul 2014 16:44:44 +0100 Message-ID: <53D68C0C0200007800026C01@mail.emea.novell.com> References: <1406561793-24630-2-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XBn6W-0004pR-Jc for xen-devel@lists.xenproject.org; Mon, 28 Jul 2014 15:44:48 +0000 In-Reply-To: <1406561793-24630-2-git-send-email-stefano.stabellini@eu.citrix.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: Stefano Stabellini Cc: julien.grall@citrix.com, xen-devel , Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org >>> On 28.07.14 at 17:36, wrote: > Introduce two arch specific functions to create a new p2m mapping of > granted pages at pfn == mfn. > We don't an x86 implementation as these functions should never be > compiled on x86 (they are called from an if (0) statement). > > Base the implementation of arm_smmu_(un)map_page on > arch_grant_(un)map_page_identity. > > Signed-off-by: Stefano Stabellini > Acked-by: Julien Grall > > --- > > Changes in v5: > - actually define arch_grant_(un)map_page_identity as extern without > implementation on x86. And with that Acked-by: Jan Beulich on the now really trivial x86 part.