ARM: tegra: power: omit L2 flush for LP2
Antti P Miettinen [Mon, 24 Oct 2011 08:20:33 +0000 (11:20 +0300)]
The L2 cache RAM is preserved over LP2 so omit the L2 cache flush
in tegra_idle_lp2_last().

Bug 880338

Change-Id: I6aa30c712b6e467bd48e9c1959da2a69453a8f43
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/59892
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R6eee47d009d45d0e20254a97df919bf2fc34e6cd

arch/arm/mach-tegra/pm.c

index 076181f..24d5932 100644 (file)
@@ -565,7 +565,6 @@ unsigned int tegra_idle_lp2_last(unsigned int sleep_time, unsigned int flags)
        suspend_cpu_complex(mode);
        tegra_cluster_switch_time(flags, tegra_cluster_switch_time_id_prolog);
        flush_cache_all();
-       outer_flush_all();
        outer_disable();
 
        tegra_sleep_cpu(PHYS_OFFSET - PAGE_OFFSET);