diff options
| author | Zhen Kong <zkong@codeaurora.org> | 2016-04-06 13:08:51 -0700 |
|---|---|---|
| committer | Kyle Yan <kyan@codeaurora.org> | 2016-07-11 18:56:36 -0700 |
| commit | 432d718f4b8d9938d7a9003148ea98576c12b2d0 (patch) | |
| tree | c7519539304aeb3a37335e9039d3d26a9f0a8155 /arch/arm/include/asm/psci.h | |
| parent | 245913a1bbcb70eeaf75bebec4e57ea9e0b9395d (diff) | |
qseecom: make change for unload TA
When unloading a TA, the operations to check ref_cnt,
scm_call to unload TA, free app list entry should be
within one critical section. Otherwise, if another
thread comes in and tries to load TA, TA status will
be out-of-sync. so move __qseecom_cleanup_app()
and __qseecom_reentrancy_check_if_no_app_blocked()
to the beginning of qseecom_unload_app(), as these
functions may release app_access mutex for a short
period.
Change-Id: I3e961f4fe1728a32314a3acf7af719374c90d01f
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Diffstat (limited to 'arch/arm/include/asm/psci.h')
0 files changed, 0 insertions, 0 deletions
