Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48948081 authored by Zhen Kong's avatar Zhen Kong
Browse files

qseecom: Add re-entrancy changes in qseecom.c



Add re-entrancy changes in qseecom.c. When one
secure app is waiting on a listener, another client
can call into a different app if the second app
does not use a listener service or is using a
different listener service.

Change-Id: Ie7fb4a9fb78adedcb223308cd11335bf6a48296e
Signed-off-by: default avatarZhen Kong <zkong@codeaurora.org>
parent 84099f52
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ Optional properties:
  - qcom,no-clock-support : indicates clocks are not handled by qseecom (could be handled by RPM)
  - qcom,appsbl-qseecom-support : indicates if there is qseecom support in appsbootloader
  - vdd-hba-supply   : handle for fixed power regulator
  - qcom,qsee-reentrancy-support: indicates if driver supports qsee command reentrancy

Example:
	qcom,qseecom@fe806000 {
+405 −33

File changed.

Preview size limit exceeded, changes collapsed.

+7 −0
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ enum qseecom_qceos_cmd_id {
enum qseecom_qceos_cmd_status {
	QSEOS_RESULT_SUCCESS = 0,
	QSEOS_RESULT_INCOMPLETE,
	QSEOS_RESULT_BLOCKED_ON_LISTENER,
	QSEOS_RESULT_FAILURE  = 0xFFFFFFFF
};

@@ -626,4 +627,10 @@ __packed struct qseecom_client_send_fsm_key_req {
	TZ_SYSCALL_PARAM_TYPE_BUF_RW, TZ_SYSCALL_PARAM_TYPE_VAL, \
	TZ_SYSCALL_PARAM_TYPE_VAL)

#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_ID_PARAM_ID \
	TZ_SYSCALL_CREATE_PARAM_ID_1(TZ_SYSCALL_PARAM_TYPE_VAL)

#endif /* __QSEECOMI_H_ */