Re: [PATCH v2 1/2] optee: immediately free buffers that are released by OP-TEE

2020-06-22 Thread Stefano Stabellini
On Fri, 19 Jun 2020, Volodymyr Babchuk wrote: > Normal World can share buffer with OP-TEE for two reasons: > 1. Some client application wants to exchange data with TA > 2. OP-TEE asks for shared buffer for internal needs > > The second case was handle more strictly than necessary: > > 1. In RPC r

[PATCH v2 1/2] optee: immediately free buffers that are released by OP-TEE

2020-06-19 Thread Volodymyr Babchuk
Normal World can share buffer with OP-TEE for two reasons: 1. Some client application wants to exchange data with TA 2. OP-TEE asks for shared buffer for internal needs The second case was handle more strictly than necessary: 1. In RPC request OP-TEE asks for buffer 2. NW allocates buffer and pro