RE: [Xen-devel] [PATCH] xen: grant-table: Check truncation when giving access to a frame

2016-06-13 Thread Paul Durrant
> -Original Message- [snip] > > > > No, I meant the guest receive-side copy didn't scale, not grant table v2 > itself. Ok the table is bigger with v2, but to do guest receive-side copy > required a huge table in dom0 if it was going to scale to 100s of VMs and the > perf. benefits were neve

Re: [Xen-devel] [PATCH] xen: grant-table: Check truncation when giving access to a frame

2016-06-13 Thread Julien Grall
...@lists.xen.org; linux-kernel@vger.kernel.org; jbeul...@suse.com; steve.cap...@arm.com Subject: Re: [Xen-devel] [PATCH] xen: grant-table: Check truncation when giving access to a frame On 13/06/16 13:41, Julien Grall wrote: Hello Paul, On 13/06/16 13:12, Paul Durrant wrote: -Original Message

RE: [Xen-devel] [PATCH] xen: grant-table: Check truncation when giving access to a frame

2016-06-13 Thread Paul Durrant
.org; linux-kernel@vger.kernel.org; > jbeul...@suse.com; steve.cap...@arm.com > Subject: Re: [Xen-devel] [PATCH] xen: grant-table: Check truncation when > giving access to a frame > > > > On 13/06/16 13:41, Julien Grall wrote: > > Hello Paul, > > > > On 13/06/

Re: [Xen-devel] [PATCH] xen: grant-table: Check truncation when giving access to a frame

2016-06-13 Thread Julien Grall
; sstabell...@kernel.org; konrad.w...@oracle.com Cc: steve.cap...@arm.com; Andrew Cooper; linux-kernel@vger.kernel.org; xen-de...@lists.xen.org; Julien Grall; jbeul...@suse.com Subject: [Xen-devel] [PATCH] xen: grant-table: Check truncation when giving access to a frame The version 1 of the grant-table

Re: [Xen-devel] [PATCH] xen: grant-table: Check truncation when giving access to a frame

2016-06-13 Thread Julien Grall
Cc: steve.cap...@arm.com; Andrew Cooper; linux-kernel@vger.kernel.org; xen-de...@lists.xen.org; Julien Grall; jbeul...@suse.com Subject: [Xen-devel] [PATCH] xen: grant-table: Check truncation when giving access to a frame The version 1 of the grant-table protocol only supports frame encoded on 32

RE: [Xen-devel] [PATCH] xen: grant-table: Check truncation when giving access to a frame

2016-06-13 Thread Paul Durrant
steve.cap...@arm.com; linux-kernel@vger.kernel.org; > jbeul...@suse.com; xen-de...@lists.xen.org > Subject: Re: [Xen-devel] [PATCH] xen: grant-table: Check truncation when > giving access to a frame > > Hi David, > > On 13/06/16 11:57, David Vrabel wrote: > > On 13/06/

RE: [Xen-devel] [PATCH] xen: grant-table: Check truncation when giving access to a frame

2016-06-13 Thread Paul Durrant
rm.com; Andrew Cooper; linux-kernel@vger.kernel.org; > xen-de...@lists.xen.org; Julien Grall; jbeul...@suse.com > Subject: [Xen-devel] [PATCH] xen: grant-table: Check truncation when giving > access to a frame > > The version 1 of the grant-table protocol only supports frame encoded

Re: [Xen-devel] [PATCH] xen: grant-table: Check truncation when giving access to a frame

2016-06-13 Thread Julien Grall
Hi David, On 13/06/16 11:57, David Vrabel wrote: On 13/06/16 11:50, Julien Grall wrote: The version 1 of the grant-table protocol only supports frame encoded on 32-bit. When the platform is supporting 48-bit physical address, the frame will be encoded on 36-bit which will lead a truncation and

Re: [Xen-devel] [PATCH] xen: grant-table: Check truncation when giving access to a frame

2016-06-13 Thread David Vrabel
On 13/06/16 11:50, Julien Grall wrote: > The version 1 of the grant-table protocol only supports frame encoded on > 32-bit. > > When the platform is supporting 48-bit physical address, the frame will > be encoded on 36-bit which will lead a truncation and give access to > the wrong frame. > > On