Revert "ARM: cache-l2x0: Save L2CC registers using pl310 save/resume"
This reverts commit f51e94eabc54067ecb3202e6683f860471ce54f1.
This original change causes low throughput and high CPU usage
during iperf tests for mdm9x15
Change-Id: I64cf35d2822b1c223b7bb95f93c38f7e6e70b303
Signed-off-by: Sridhar Parasuram <sridhar@codeaurora.org>
diff --git a/arch/arm/mach-msm/pm2.c b/arch/arm/mach-msm/pm2.c
index 4518d7c..4f3c7e4 100644
--- a/arch/arm/mach-msm/pm2.c
+++ b/arch/arm/mach-msm/pm2.c
@@ -1192,7 +1192,7 @@
#endif
#ifdef CONFIG_CACHE_L2X0
- l2cc_suspend();
+ l2x0_suspend();
#endif
collapsed = msm_pm_collapse();
@@ -1217,7 +1217,7 @@
}
#ifdef CONFIG_CACHE_L2X0
- l2cc_resume(collapsed);
+ l2x0_resume(collapsed);
#endif
msm_pm_boot_config_after_pc(smp_processor_id());
@@ -1434,14 +1434,14 @@
#ifdef CONFIG_CACHE_L2X0
if (!cpu_is_msm8625())
- l2cc_suspend();
+ l2x0_suspend();
#endif
collapsed = msm_pm_collapse();
#ifdef CONFIG_CACHE_L2X0
if (!cpu_is_msm8625())
- l2cc_resume(collapsed);
+ l2x0_resume(collapsed);
#endif
msm_pm_boot_config_after_pc(smp_processor_id());