[9610] samsung: exynos-reboot: skip reset disable of big core / big cluster
authorYoungmin Nam <youngmin.nam@samsung.com>
Thu, 21 Jun 2018 06:09:03 +0000 (15:09 +0900)
committerYoungmin Nam <youngmin.nam@samsung.com>
Mon, 2 Jul 2018 08:52:02 +0000 (17:52 +0900)
For cache flush operation in dump gpr situation,
big core and big cluster's reset disable should be skipped.

Change-Id: I10415a86c4aae04be42c0197821c49d0f422779a
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
drivers/soc/samsung/exynos-reboot.c

index 1bfec6aa25088b09055517ba1f1411ce6edad9ba..43b90efd70598b47b55f25d584dd5bc13a6ea905 100644 (file)
@@ -160,12 +160,17 @@ void big_reset_control(int en)
                        exynos_pmu_update(CPU_RESET_DISABLE_FROM_WDTRESET,
                                        DFD_RESET_PEND, 0);
 
+               /* The reset disable of BIG core and BIG cluster in Exynos9610(Artemis)
+                * should be skipped because of cache flush in dump gpr situation
+                */
+               /*
                for (val = 0; val < big_cpu_cnt; val++)
                        exynos_pmu_update(BIG_CPU0_RESET + (val * PMU_CPU_OFFSET),
                                        DFD_DISABLE_RESET, DFD_DISABLE_RESET);
 
                exynos_pmu_update(BIG_NONCPU_ETC_RESET, DFD_BIG_NONCPU_ETC_RESET,
                                        DFD_BIG_NONCPU_ETC_RESET);
+               */
        } else {
                /* reset enable for BIG */
                for (val = 0; val < big_cpu_cnt; val++)