Commit 8e6f83bb authored by Russell King's avatar Russell King
Browse files

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

Tested-by: default avatarSantosh Shilimkar <>
Tested-by: default avatarShawn Guo <>
Tested-by: default avatarLorenzo Pieralisi <>
Signed-off-by: default avatarRussell King <>
parent abda1bd5
......@@ -28,6 +28,9 @@ void __cpu_suspend_save(u32 *ptr, u32 ptrsz, u32 sp, u32 *save_ptr)
outer_clean_range(*save_ptr, *save_ptr + ptrsz);
virt_to_phys(save_ptr) + sizeof(*save_ptr));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment