Re: [PATCH v3 02/11] tee: add close_context to TEE driver operation

2025-04-27 Thread Amirreza Zarrabi
Hi Sumit On 4/21/2025 8:42 PM, Sumit Garg wrote: > On Thu, Mar 27, 2025 at 07:47:24PM -0700, Amirreza Zarrabi wrote: >> The tee_context can be used to manage TEE user resources, including >> those allocated by the driver for the TEE on behalf of the user. >> The release() callback is invoked only

Re: [PATCH v3 02/11] tee: add close_context to TEE driver operation

2025-04-21 Thread Sumit Garg
On Thu, Mar 27, 2025 at 07:47:24PM -0700, Amirreza Zarrabi wrote: > The tee_context can be used to manage TEE user resources, including > those allocated by the driver for the TEE on behalf of the user. > The release() callback is invoked only when all resources, such as > tee_shm, are released and

Re: [PATCH v3 02/11] tee: add close_context to TEE driver operation

2025-04-08 Thread Amirreza Zarrabi
Hi Jens, On 4/8/2025 12:55 AM, Jens Wiklander wrote: > Hi Amir, > > On Fri, Mar 28, 2025 at 3:48 AM Amirreza Zarrabi > wrote: >> The tee_context can be used to manage TEE user resources, including >> those allocated by the driver for the TEE on behalf of the user. >> The release() callback is inv

Re: [PATCH v3 02/11] tee: add close_context to TEE driver operation

2025-04-07 Thread Jens Wiklander
Hi Amir, On Fri, Mar 28, 2025 at 3:48 AM Amirreza Zarrabi wrote: > > The tee_context can be used to manage TEE user resources, including > those allocated by the driver for the TEE on behalf of the user. > The release() callback is invoked only when all resources, such as > tee_shm, are released

[PATCH v3 02/11] tee: add close_context to TEE driver operation

2025-03-27 Thread Amirreza Zarrabi
The tee_context can be used to manage TEE user resources, including those allocated by the driver for the TEE on behalf of the user. The release() callback is invoked only when all resources, such as tee_shm, are released and there are no references to the tee_context. When a user closes the devic