}
+static void exynos_post_reboot_entry(void *val)
+{
+ /* TODO: Something */
+
+}
+
+static void exynos_post_reboot_exit(void *val)
+{
+ flush_cache_all();
+}
+
static void exynos_save_context_entry(void *val)
{
#ifdef CONFIG_EXYNOS_CORESIGHT_ETR
.soc_prepare_panic_exit = exynos_prepare_panic_exit,
.soc_post_panic_entry = exynos_post_panic_entry,
.soc_post_panic_exit = exynos_post_panic_exit,
+ .soc_post_reboot_entry = exynos_post_reboot_entry,
+ .soc_post_reboot_exit = exynos_post_reboot_exit,
.soc_save_context_entry = exynos_save_context_entry,
.soc_save_context_exit = exynos_save_context_exit,
.soc_start_watchdog = exynos_start_watchdog,
void (*soc_post_panic_entry)(void *);
void (*soc_post_panic_exit)(void *);
+ void (*soc_post_reboot_entry)(void *);
+ void (*soc_post_reboot_exit)(void *);
+
void (*soc_save_context_entry)(void *);
void (*soc_save_context_exit)(void *);
if (unlikely(!dss_base.enabled))
return 0;
+ 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_save_context(NULL);
+ dss_soc_ops->soc_post_reboot_exit(NULL);
+
return 0;
}
EXPORT_SYMBOL(dbg_snapshot_post_reboot);