ARM: tegra: sleep: flush tlbs when exiting wfi
authorColin Cross <ccross@android.com>
Wed, 24 Aug 2011 00:43:54 +0000 (17:43 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:37:12 +0000 (21:37 -0800)
commited2d4e788a7f6d8719cf04be1b5259d47492d9a4
tree352acad3e76bbf20aa90e31c42b8f774feb6eac2
parent02cbbd37ebaa26c821f43eb3faeec0800139bba9
ARM: tegra: sleep: flush tlbs when exiting wfi

tegra_sleep_wfi disables coherency to prepare for possibly
resetting the cpu.  If an interrupt is received, it exits
wfi and re-enables coherency, but it was not flushing the
tlbs or the branch predictor array, which could have been
updated by broadcast tlb operations that were ignored.
Flush the tlbs and branch predictor array when exiting.

Change-Id: If2c6ca3f923baf2f883f461a2a90f08833c7e191
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/sleep.S