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

2025-05-14 Thread Sumit Garg
On Mon, Apr 28, 2025 at 11:06:23PM -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

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

2025-04-28 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