On Mon, May 03, 2021 at 09:04:35AM +0530, Rijo Thomas wrote:
On 14/04/21 11:08 pm, Rijo Thomas wrote:
Same Trusted Application (TA) can be loaded in multiple TEE contexts.
If it is a single instance TA, the TA should not get unloaded from AMD Secure Processor, while it is still in use in another TEE context.
Therefore reference count TA and unload it when the count becomes zero.
Fixes: 757cc3e9ff1d ("tee: add AMD-TEE driver") Reviewed-by: Devaraj Rangasamy Devaraj.Rangasamy@amd.com Signed-off-by: Rijo Thomas Rijo-john.Thomas@amd.com
Hi Dan,
Can you please give an Ack if you are okay with this patch. I have incorporated your review comments for v2.
Oh, Sorry. Thanks!
Acked-by: Dan Carpenter dan.carpenter@oracle.com
regards, dan carpenter