diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2022-01-25 21:26:42 +0100 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2022-04-25 21:13:05 +0200 |
commit | 5b4018b959149eb5b5f3004fc0339674af67516b (patch) | |
tree | 8a5463d7692bcc860ab5cf0cdfe1ebc76768f7af /drivers/tee/optee/core.c | |
parent | a639b2b18a240d497109631d48016b620fb354f9 (diff) |
optee: cache argument shared memory structs
Implements a cache to handle shared memory used to pass the argument
struct needed when doing a normal yielding call into secure world.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'drivers/tee/optee/core.c')
-rw-r--r-- | drivers/tee/optee/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tee/optee/core.c b/drivers/tee/optee/core.c index daf947e98d14..daf07737c4fd 100644 --- a/drivers/tee/optee/core.c +++ b/drivers/tee/optee/core.c @@ -171,6 +171,7 @@ void optee_remove_common(struct optee *optee) optee_unregister_devices(); optee_notif_uninit(optee); + optee_shm_arg_cache_uninit(optee); teedev_close_context(optee->ctx); /* * The two devices have to be unregistered before we can free the |