]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 20 Sep 2011 22:33:47 +0000 (23:33 +0100)
commit102cce36a5198b60a103df72588829c3ade7c824
treec8c66226bd52a6b26229f0a95bf45851bef8974b
parentf399acd6e77e7adebcb6e67677c72faee70a45ad
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().

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>
arch/arm/kernel/suspend.c