diff options
author | Hyung Taek Ryoo <hryoo@nvidia.com> | 2013-09-12 10:30:36 -0700 |
---|---|---|
committer | Mrutyunjay Sawant <msawant@nvidia.com> | 2013-09-23 01:42:52 -0700 |
commit | e0677bee1c32cc5c9f8afef8aa84250da71f020f (patch) | |
tree | 366b77a3c290fd2f808bf1c401155c6283decaed /security | |
parent | fee875143f4563505d17a3ef4b8ee813d9ba2b4c (diff) |
security: tf_driver: integrate latest TL release
Tegra4 version: TF_TEGRA4_AC02.08p5.40671
This version fixes the corruption of secure os(TF) stack which is caused by
unexpected hardware cache activities at the time of core #0 wakes up from
per-core power gating.
Caches ON while go to sleep and L1 cache is all cleaned before the sleep,
while L2 cache is selectively cleaned because it's preserved during
the sleep of the cores so L2 cache has some dirty lines from the secure world.
When core #0 wakes up, it turns on i-, d-caches but MMU is still off at this
moment. During this time the wake up process starts synching (flushing) cache
to SDRAM. Until MMU is ON, core #0 uses stacks data from SDRAM, not from the
data cache. It is enough to flush the old line of stack to SDRAM in order to
corrupt call-return linkage if it accidently happens during such stack usage.
To fix this issue, TF cleans the cache lines related to secure os stack
after they have been used last time just before returning to normal OS.
Bug 1330053
Bug 1356121
Change-Id: I1b8ba453f9e4e0f21e65667b54ed5ce4bcee8ff1
Signed-off-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-on: http://git-master/r/276089
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/tf_driver/s_version.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/tf_driver/s_version.h b/security/tf_driver/s_version.h index a1b41f52d38e..e2d41b0cdb54 100644 --- a/security/tf_driver/s_version.h +++ b/security/tf_driver/s_version.h @@ -63,7 +63,7 @@ #define S_VERSION_PLATFORM "C" #define S_VERSION_MAIN "02.08" #define S_VERSION_ENG 0 -#define S_VERSION_PATCH 3 +#define S_VERSION_PATCH 5 #else #define S_VERSION_OS "Z" /* Unknown platform */ |