From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: [PATCH v03 07/10] arm: introduce remoteproc_mmu_translate_pagetable mem subops call Date: Wed, 03 Sep 2014 10:48:58 +0100 Message-ID: <5407002A0200007800030238@mail.emea.novell.com> References: <1409672770-23164-1-git-send-email-andrii.tseglytskyi@globallogic.com> <1409672770-23164-8-git-send-email-andrii.tseglytskyi@globallogic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1409672770-23164-8-git-send-email-andrii.tseglytskyi@globallogic.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: Andrii Tseglytskyi Cc: Julien Grall , Stefano Stabellini , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 02.09.14 at 17:46, wrote: > --- a/xen/include/public/memory.h > +++ b/xen/include/public/memory.h > @@ -523,7 +523,19 @@ DEFINE_XEN_GUEST_HANDLE(xen_mem_sharing_op_t); > > #endif /* defined(__XEN__) || defined(__XEN_TOOLS__) */ > > -/* Next available subop number is 26 */ > +#ifdef HAS_REMOTEPROC > +struct xen_mem_pagetable_addr { > + paddr_t reg; /* IN: device base address */ > + paddr_t paddr; /* IN: pagetable physical address */ > + paddr_t maddr; /* OUT: pagetable machine address */ There's no paddr_t in the public interface. Do these really need to be byte granular? Since otherwise xen_pfn_t would be the right type. Jan