From: Ian Campbell Subject: Re: [PATCH v1 2/8]: PVH mmu changes Date: Fri, 5 Oct 2012 10:25:34 +0100 Message-ID: <1349429134.20946.23.camel@zakaz.uk.xensource.com> References: <20120921121556.1a0ea8af@mantra.us.oracle.com> <1349278963.650.164.camel@zakaz.uk.xensource.com> <20121003152925.5af3a658@mantra.us.oracle.com> <1349339279.650.214.camel@zakaz.uk.xensource.com> <20121004112734.4f003584@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20121004112734.4f003584@mantra.us.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Mukesh Rathor Cc: "Xen-devel@lists.xensource.com" , Stefano Stabellini , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On Thu, 2012-10-04 at 19:27 +0100, Mukesh Rathor wrote: > On Thu, 4 Oct 2012 09:27:59 +0100 > Ian Campbell wrote: > > > On Wed, 2012-10-03 at 23:29 +0100, Mukesh Rathor wrote: > > > On Wed, 3 Oct 2012 16:42:43 +0100 > > > Ian Campbell wrote: > > > > > > > > > > > > int xen_remap_domain_mfn_range(struct vm_area_struct *vma, > > > > > unsigned long addr, > > > > > unsigned long mfn, int nr, > > > > > - pgprot_t prot, unsigned domid); > > > > > + pgprot_t prot, unsigned domid, > > > > > + struct xen_pvh_pfn_info *pvhp); > > > > > +int xen_unmap_domain_mfn_range(struct vm_area_struct *vma, > > > > > + struct xen_pvh_pfn_info *pvhp); > > > > > + > > > > > +struct xen_pvh_pfn_info { > > > > > > > > Can we call this xen_remap_mfn_info or something? PVH is x86 > > > > specific while this struct is also useful on ARM. > > > > > > I already renamed it to: xen_xlat_pfn_info. > > > > What does xlat refer to here? I don't think we translate anything with > > this struct. > > paging mode xlate! See stefanno's prev email where he suggested changing > name to this. Oh, because the uses are under XENFEAT_auto_translated_physmap? I suppose that makes sense, kind of. I guess it doesn't really matter since I reckon we can get rid of the struct entirely anyway ;-) Ian.