ARM: pm: add L2 cache cleaning for suspend
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 1 Sep 2011 10:57:59 +0000 (11:57 +0100)
committerSimone Willett <swillett@nvidia.com>
Fri, 6 Apr 2012 00:52:41 +0000 (17:52 -0700)
commita27cd62bb4934abe2af420ba7ca5115fbfb653be
tree2fd934cc917369eca4f5d387c65d364db07358ad
parent11a2e1bb69affe9e8273bc6d1452cd9282ddd27a
ARM: pm: add L2 cache cleaning for suspend

We need to ensure that state is pushed out from the L2 cache when
suspending so that the resume paths can access their data before the
MMU and caches have been re-initialized.  Add the necessary calls to
__cpu_suspend_save().

Change-Id: Idf7516347478731b722e62a37b5cc9f1c52be68e
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/85729
Reviewed-by: Automatic_Commit_Validation_User
arch/arm/kernel/suspend.c