juno: Invalidate all caches before warm reset to AArch32 state.
authorDimitris Papastamos <dimitris.papastamos@arm.com>
Mon, 19 Jun 2017 13:15:31 +0000 (14:15 +0100)
committerDimitris Papastamos <dimitris.papastamos@arm.com>
Mon, 26 Jun 2017 16:37:46 +0000 (17:37 +0100)
commit35bd2dda0f28ba628745fa952682703e26d5e833
tree0280d853b2fa950d33b3a7ffd3e10df6a99aa0a7
parentcc47e1ada6d9a4234d8ca6547008ddc10e6e6568
juno: Invalidate all caches before warm reset to AArch32 state.

On Juno AArch32, the L2 cache may contain garbage after the warm reset
from AArch64 to AArch32.  This is all fine until the MMU is configured
and the data caches enabled.  To avoid fetching stale data from the L2
unified cache, invalidate it before the warm reset to AArch32 state.

Change-Id: I7d27e810692c02c3e83c9f31de67f6bae59a960a
Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
plat/arm/board/juno/aarch64/juno_helpers.S