diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2021-03-25 15:08:50 +0100 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2021-10-15 11:55:42 +0200 |
commit | 4602c5842f649da2fbd2cea3560af750cfbd59e3 (patch) | |
tree | 9c8cb380a90fb44a3e306add9070c11306409e5b /drivers/irqchip/irq-sunxi-nmi.c | |
parent | c0ab6db39a908d86ed44e8a5632548e2ec1b4dca (diff) | |
download | linux-4602c5842f649da2fbd2cea3560af750cfbd59e3.tar.gz |
optee: refactor driver with internal callbacks
The OP-TEE driver is refactored with three internal callbacks replacing
direct calls to optee_from_msg_param(), optee_to_msg_param() and
optee_do_call_with_arg().
These functions a central to communicating with OP-TEE in secure world
by using the SMC Calling Convention directly.
This refactoring makes room for using other primitives to communicate
with OP-TEE in secure world while being able to reuse as much as
possible from the present driver.
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'drivers/irqchip/irq-sunxi-nmi.c')
0 files changed, 0 insertions, 0 deletions