diff options
author | Mustafa Yigit Bilgen <mbilgen@nvidia.com> | 2016-09-02 19:30:22 -0700 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2017-04-05 14:09:51 -0700 |
commit | 322b00fcfb6e8b1b5aa533c9503955c0bfdf826b (patch) | |
tree | 03985137ba469cdc82215b015757195f0588c105 /drivers/arm/ccn/ccn.c | |
parent | ac26b96b40c4cda751f1923b4906d7027e529327 (diff) |
Tegra186: clean CPU wake times from L2 cache
When entering C7, ATF disables caches and flushes the L1 cache. However,
wake_time[cpu] can still remain in the L2 cache, causing later reads to it
to fetch from DRAM. This will read stale values.
Fix this by aligning wake_time[cpu] to cache lines, and explicitly cleaning it
before disabling caches.
Change-Id: Id73d095b479677595a6b3dd0abb240a1fef5f311
Signed-off-by: Mustafa Yigit Bilgen <mbilgen@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'drivers/arm/ccn/ccn.c')
0 files changed, 0 insertions, 0 deletions