forked from luck/tmp_suning_uos_patched
c39a190d83
[ Upstream commit 9f015b3765bf593b3ed5d3b588e409dc0ffa9f85 ]
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:
|
||
---|---|---|
.. | ||
amdtee_if.h | ||
amdtee_private.h | ||
call.c | ||
core.c | ||
Kconfig | ||
Makefile | ||
shm_pool.c |