summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorZhen Kong <zkong@codeaurora.org>2017-06-29 15:22:14 -0700
committerZhen Kong <zkong@codeaurora.org>2017-07-17 13:40:31 -0700
commit7293d203cfd074eea72b22910d06eb98e45daffd (patch)
tree13980afc4f206fb0287df69ad3b6640bb32b8044 /include/soc
parent0ea2b1fc155e2c0b1483d0db781ffe8439dae58c (diff)
qseecom: update on smcinvoke-aware listeners operations
With the introduction of MinkIPC for TA-to-TA communication, if a request for blocking a TA (on a busy listener) is received by qseecom, it may not be originated from the last TA to which a command (or unblock response) was sent to. So, make change to use a session_id instead of app_id to uniquely identify this blocked request and a new cmd ID to support this smcinvoke-aware listener operation. Change-Id: I362e9acfa52c055b5759c210bb881da40f4e0776 Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/qcom/qseecomi.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/soc/qcom/qseecomi.h b/include/soc/qcom/qseecomi.h
index 6497d962e347..e199978302bf 100644
--- a/include/soc/qcom/qseecomi.h
+++ b/include/soc/qcom/qseecomi.h
@@ -336,7 +336,7 @@ __packed struct qseecom_client_send_fsm_key_req {
__packed struct qseecom_continue_blocked_request_ireq {
uint32_t qsee_cmd_id;
- uint32_t app_id;
+ uint32_t app_or_session_id; /*legacy: app_id; smcinvoke: session_id*/
};
@@ -681,6 +681,9 @@ __packed struct qseecom_continue_blocked_request_ireq {
#define TZ_OS_CONTINUE_BLOCKED_REQUEST_ID \
TZ_SYSCALL_CREATE_SMC_ID(TZ_OWNER_QSEE_OS, TZ_SVC_LISTENER, 0x04)
+#define TZ_OS_CONTINUE_BLOCKED_REQUEST_SMCINVOKE_ID \
+ TZ_SYSCALL_CREATE_SMC_ID(TZ_OWNER_QSEE_OS, TZ_SVC_LISTENER, 0x07)
+
#define TZ_OS_CONTINUE_BLOCKED_REQUEST_ID_PARAM_ID \
TZ_SYSCALL_CREATE_PARAM_ID_1(TZ_SYSCALL_PARAM_TYPE_VAL)