summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJone Chou <jonechou@google.com>2022-02-22 02:01:06 +0800
committerTreeHugger Robot <treehugger-gerrit@google.com>2022-03-07 10:13:51 +0000
commit80e9c96619836a1dfbdd314d3a9aadbce3810c98 (patch)
tree5a8bbb896b711272e7a5a7cca646b73bf935d310
parent3a3fccafb5469eaf8ab18c758aa2853b82bbd1cd (diff)
downloadreset-80e9c96619836a1dfbdd314d3a9aadbce3810c98.tar.gz
power: reset: gs101: raise restart_handler priority
Whether cold or warm reboot, the actions will be moved from restart_handler to aosp psci_sys_reset -> el3mon. So raise restart_handler priority(130) to be higher than aosp psci_sys_reset(129). And then we can do restart preparation in restart_handler earlier than psci_sys_reset -> el3mon. Also let upper migrations be seamless. Bug: 201317385 Signed-off-by: Jone Chou <jonechou@google.com> Change-Id: I0c0d0b88da7b1cab0782ac3404c879d1ebc100fe
-rw-r--r--exynos-gs101-reboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exynos-gs101-reboot.c b/exynos-gs101-reboot.c
index b52b1f7..12de215 100644
--- a/exynos-gs101-reboot.c
+++ b/exynos-gs101-reboot.c
@@ -205,7 +205,7 @@ static int exynos_restart_handler(struct notifier_block *this, unsigned long mod
static struct notifier_block exynos_restart_nb = {
.notifier_call = exynos_restart_handler,
- .priority = 128,
+ .priority = 130,
};
static int exynos_reboot_probe(struct platform_device *pdev)