Re: [PATCH v2 2/2] optee: allow plain TMEM buffers with NULL address

2020-07-01 Thread Julien Grall
On 29/06/2020 08:42, Paul Durrant wrote: -Original Message- From: Julien Grall Sent: 26 June 2020 18:54 To: Stefano Stabellini ; p...@xen.org Cc: Volodymyr Babchuk ; xen-devel@lists.xenproject.org; op- t...@lists.trustedfirmware.org Subject: Re: [PATCH v2 2/2] optee: allow plain

RE: [PATCH v2 2/2] optee: allow plain TMEM buffers with NULL address

2020-06-29 Thread Paul Durrant
> -Original Message- > From: Julien Grall > Sent: 26 June 2020 18:54 > To: Stefano Stabellini ; p...@xen.org > Cc: Volodymyr Babchuk ; > xen-devel@lists.xenproject.org; op- > t...@lists.trustedfirmware.org > Subject: Re: [PATCH v2 2/2] optee: allow plain TMEM b

Re: [PATCH v2 2/2] optee: allow plain TMEM buffers with NULL address

2020-06-26 Thread Julien Grall
(using paul xen.org's email) Hi, Apologies for the late answer. On 23/06/2020 22:09, Stefano Stabellini wrote: On Tue, 23 Jun 2020, Julien Grall wrote: On 23/06/2020 03:49, Volodymyr Babchuk wrote: Hi Stefano, Stefano Stabellini writes: On Fri, 19 Jun 2020, Volodymyr Babchuk wrote: Trus

Re: [PATCH v2 2/2] optee: allow plain TMEM buffers with NULL address

2020-06-23 Thread Stefano Stabellini
On Tue, 23 Jun 2020, Julien Grall wrote: > On 23/06/2020 03:49, Volodymyr Babchuk wrote: > > > > Hi Stefano, > > > > Stefano Stabellini writes: > > > > > On Fri, 19 Jun 2020, Volodymyr Babchuk wrote: > > > > Trusted Applications use popular approach to determine required size > > > > of buffer:

Re: [PATCH v2 2/2] optee: allow plain TMEM buffers with NULL address

2020-06-23 Thread Julien Grall
On 23/06/2020 03:49, Volodymyr Babchuk wrote: Hi Stefano, Stefano Stabellini writes: On Fri, 19 Jun 2020, Volodymyr Babchuk wrote: Trusted Applications use popular approach to determine required size of buffer: client provides a memory reference with the NULL pointer to a buffer. This is

Re: [PATCH v2 2/2] optee: allow plain TMEM buffers with NULL address

2020-06-22 Thread Volodymyr Babchuk
Hi Stefano, Stefano Stabellini writes: > On Fri, 19 Jun 2020, Volodymyr Babchuk wrote: >> Trusted Applications use popular approach to determine required size >> of buffer: client provides a memory reference with the NULL pointer to >> a buffer. This is so called "Null memory reference". TA upd

Re: [PATCH v2 2/2] optee: allow plain TMEM buffers with NULL address

2020-06-22 Thread Stefano Stabellini
On Fri, 19 Jun 2020, Volodymyr Babchuk wrote: > Trusted Applications use popular approach to determine required size > of buffer: client provides a memory reference with the NULL pointer to > a buffer. This is so called "Null memory reference". TA updates the > reference with the required size and

[PATCH v2 2/2] optee: allow plain TMEM buffers with NULL address

2020-06-19 Thread Volodymyr Babchuk
Trusted Applications use popular approach to determine required size of buffer: client provides a memory reference with the NULL pointer to a buffer. This is so called "Null memory reference". TA updates the reference with the required size and returns it back to the client. Then client allocates b