Re: [Xen-devel] [PATCH v2] libxc: introduce a per architecture scratch pfn for temporary grant mapping

2015-02-16 Thread Andrew Cooper
On 16/02/15 14:49, Ian Jackson wrote: > Ian Jackson writes ("Re: [PATCH v2] libxc: introduce a per architecture > scratch pfn for temporary grant mapping"): >> Ian Campbell writes ("Re: [PATCH v2] libxc: introduce a per architecture >> scratch pfn for temporary grant mapping"): >>> Ian, Julien ha

Re: [Xen-devel] [PATCH v2] libxc: introduce a per architecture scratch pfn for temporary grant mapping

2015-02-16 Thread Ian Jackson
Ian Jackson writes ("Re: [PATCH v2] libxc: introduce a per architecture scratch pfn for temporary grant mapping"): > Ian Campbell writes ("Re: [PATCH v2] libxc: introduce a per architecture > scratch pfn for temporary grant mapping"): > > Ian, Julien has suggested this for backport to 4.5 but not

Re: [Xen-devel] [PATCH v2] libxc: introduce a per architecture scratch pfn for temporary grant mapping

2015-01-27 Thread Ian Jackson
Ian Campbell writes ("Re: [PATCH v2] libxc: introduce a per architecture scratch pfn for temporary grant mapping"): > Ian, Julien has suggested this for backport to 4.5 but not 4.4. Queued, thanks. Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.o

Re: [Xen-devel] [PATCH v2] libxc: introduce a per architecture scratch pfn for temporary grant mapping

2015-01-27 Thread Ian Campbell
On Wed, 2015-01-21 at 16:42 +, Andrew Cooper wrote: > On 21/01/15 13:25, Julien Grall wrote: > > The code to initialize the grant table in libxc uses > > xc_domain_maximum_gpfn() + 1 to get a guest pfn for mapping the grant > > frame and to initialize it. > >[...] > For the x86 side of things,

Re: [Xen-devel] [PATCH v2] libxc: introduce a per architecture scratch pfn for temporary grant mapping

2015-01-21 Thread Andrew Cooper
On 21/01/15 13:25, Julien Grall wrote: > The code to initialize the grant table in libxc uses > xc_domain_maximum_gpfn() + 1 to get a guest pfn for mapping the grant > frame and to initialize it. > > This solution has two major issues: > - The check of the return of xc_domain_maximum_gpfn is bu

[Xen-devel] [PATCH v2] libxc: introduce a per architecture scratch pfn for temporary grant mapping

2015-01-21 Thread Julien Grall
The code to initialize the grant table in libxc uses xc_domain_maximum_gpfn() + 1 to get a guest pfn for mapping the grant frame and to initialize it. This solution has two major issues: - The check of the return of xc_domain_maximum_gpfn is buggy because xen_pfn_t is unsigned and in case