arm-trusted-firmware/plat/nvidia/tegra
Mustafa Yigit Bilgen 322b00fcfb 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>
2017-04-05 14:09:51 -07:00
..
common Tegra: memctrl_v2: save TZDRAM settings to secure scratch registers 2017-04-05 13:56:29 -07:00
include Tegra: memctrl_v2: save TZDRAM settings to secure scratch registers 2017-04-05 13:56:29 -07:00
soc Tegra186: clean CPU wake times from L2 cache 2017-04-05 14:09:51 -07:00
platform.mk Tegra210: enable errata for Cortex-A57 and Cortex-A53 CPUs 2017-03-07 10:27:21 -08:00