OpenCloudOS-Kernel/drivers/tee/optee
Jens Wiklander c51a564a5b optee: isolate smc abi
Isolate the ABI based on raw SMCs. Code specific to the raw SMC ABI is
moved into smc_abi.c. This makes room for other ABIs with a clear
separation.

The driver changes to use module_init()/module_exit() instead of
module_platform_driver(). The platform_driver_register() and
platform_driver_unregister() functions called directly to keep the same
behavior. This is needed because module_platform_driver() is based on
module_driver() which can only be used once in a module.

A function optee_rpc_cmd() is factored out from the function
handle_rpc_func_cmd() to handle the ABI independent part of RPC
processing.

This patch is not supposed to change the driver behavior, it's only a
matter of reorganizing the code.

Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
2021-10-18 11:44:23 +02:00
..
Kconfig tee: optee: Fix compilation issue with nommu 2020-01-23 10:55:20 +01:00
Makefile optee: isolate smc abi 2021-10-18 11:44:23 +02:00
call.c optee: isolate smc abi 2021-10-18 11:44:23 +02:00
core.c optee: isolate smc abi 2021-10-18 11:44:23 +02:00
device.c tee: optee: Fix missing devices unregister during optee_remove 2021-10-12 13:24:39 +02:00
optee_msg.h optee: use export_uuid() to copy client UUID 2021-05-18 07:59:27 +02:00
optee_private.h optee: isolate smc abi 2021-10-18 11:44:23 +02:00
optee_rpc_cmd.h optee: sync OP-TEE headers 2021-02-02 14:50:41 +01:00
optee_smc.h optee: sync OP-TEE headers 2021-02-02 14:50:41 +01:00
optee_trace.h tee: optee: add invoke_fn tracepoints 2021-03-15 12:04:01 +01:00
rpc.c optee: isolate smc abi 2021-10-18 11:44:23 +02:00
smc_abi.c optee: isolate smc abi 2021-10-18 11:44:23 +02:00
supp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00