On Tue, Nov 06, 2012 at 10:32:57AM +0100, Joseph Lo wrote: > The L2 RAM is in different power domain from the CPU cluster. So the > L2 content can be retained over CPU suspend/resume. To do that, we > need to disable L2 after the MMU is disabled, and enable L2 before > the MMU is enabled. But the L2 controller is in the same power domain > with the CPU cluster. We need to restore it's settings and re-enable > it after the power be resumed. > > Signed-off-by: Joseph Lo <josephl@xxxxxxxxxx> > --- > arch/arm/mach-tegra/common.c | 6 +++++- > arch/arm/mach-tegra/headsmp.S | 11 +++++++++++ > arch/arm/mach-tegra/pm.c | 2 -- > arch/arm/mach-tegra/pm.h | 2 ++ > arch/arm/mach-tegra/sleep.S | 7 +++++++ > arch/arm/mach-tegra/sleep.h | 28 ++++++++++++++++++++++++++++ > 6 files changed, 53 insertions(+), 3 deletions(-) Apart from the missing define: Acked-by: Peter De Schrijver <pdeschrijver@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html