forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add kernel client API function tee_client_invoke_ocall2() to invoke a session command with support for an Ocall command from the TEE service back to caller client. On return of that function, caller can call that function again providing the Ocall argument to return to TEE from the Ocall. The interface allows Ocall command to pass 2 32bit arguments: an Ocall command ID and a value parameter. On return, the Ocall passes 2 32bit arguments to output value parameters upon success and an error result. This implementation is based on the OP-TEE OCALL implementation proposed by Hernan Gatta in linaro-swg#72 and OP-TEE/optee_os#3673. Change-Id: Idce8218a6f1c5d45e0a09f33eb2370c1790a571a Co-developed-by: Hernan Gatta <[email protected]> Signed-off-by: Hernan Gatta <[email protected]> Signed-off-by: Etienne Carriere <[email protected]> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/357079 Domain-Review: Yann GAUTIER <[email protected]> Reviewed-by: Yann GAUTIER <[email protected]> ACI: CITOOLS <[email protected]>
- Loading branch information
1 parent
485a83f
commit 652fdda
Showing
8 changed files
with
309 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.