diff options
author | Rijo Thomas <[email protected]> | 2021-04-14 23:08:27 +0530 |
---|---|---|
committer | Jens Wiklander <[email protected]> | 2021-05-05 13:00:11 +0200 |
commit | 9f015b3765bf593b3ed5d3b588e409dc0ffa9f85 (patch) | |
tree | 0bd7503a0029b6125299e9649d56963e7a781bac /scripts/gdb/linux/tasks.py | |
parent | 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 (diff) |
tee: amdtee: unload TA only when its refcount becomes 0
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 <[email protected]>
Signed-off-by: Rijo Thomas <[email protected]>
Acked-by: Dan Carpenter <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions