- Do not unload prov TZ app.
From (CR) This app manages secure state as set by bootloader. Reloading would clear the state. This solution is limted by some alternate way to force unloading our prov TA and then restarting it outside bootloader. Change-Id: Idcfc520f457ac081fd63e76a821d047ee9a78d09 Reviewed-on: https://gerrit.mot.com/1284363 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Reviewed-by: Joel Voss <jvoss@motorola.com> Reviewed-by: Igor Kovalenko <igork@motorola.com> Tested-by: Jira Key Submit-Approved: Jira Key Reviewed-on: https://gerrit.mot.com/1349396 Reviewed-by: Zhenxin Xi <xizx@motorola.com> Reviewed-on: https://gerrit.mot.com/1471673 Reviewed-by: Yang Xiao <xiaoy3@motorola.com> Reviewed-on: https://gerrit.mot.com/1509724
This commit is contained in:
1 parent
5a7dde555f
commit
43dd108d1b
1 file changed
+5
@@ -3087,6 +3087,11 @@ static int qseecom_unload_app(struct qseecom_dev_handle *data,
|
||||
goto unload_exit;
|
||||
}
|
||||
|
||||
if (!memcmp(data->client.app_name, "prov", strlen("prov"))) {
|
||||
pr_debug("Do not unload prov app from tz\n");
|
||||
goto unload_exit;
|
||||
}
|
||||
|
||||
__qseecom_cleanup_app(data);
|
||||
__qseecom_reentrancy_check_if_no_app_blocked(TZ_OS_APP_SHUTDOWN_ID);
|
||||
|
||||
|
||||
Reference in new issue
Block a user