This commit change timing to clear DSS_SIGN_PANIC because
it works it including panic of leading core
Change-Id: I1fa1bbf187c276935a126b7f6c78629944daa617
Signed-off-by: Hosung Kim <hosung0.kim@samsung.com>
dss_soc_ops->soc_post_reboot_entry(NULL);
- /* clear DSS_SIGN_PANIC when normal reboot */
- for_each_possible_cpu(cpu) {
- dbg_snapshot_set_core_panic_stat(DSS_SIGN_RESET, cpu);
- }
-
dbg_snapshot_report_reason(DSS_SIGN_NORMAL_REBOOT);
if (!cmd)
dbg_snapshot_save_context(NULL);
+ /* clear DSS_SIGN_PANIC when normal reboot */
+ for_each_possible_cpu(cpu) {
+ dbg_snapshot_set_core_panic_stat(DSS_SIGN_RESET, cpu);
+ }
+
dss_soc_ops->soc_post_reboot_exit(NULL);
return 0;