diff options
author | Jone Chou <jonechou@google.com> | 2022-02-22 02:01:06 +0800 |
---|---|---|
committer | Jone Chou <jonechou@google.com> | 2022-02-22 03:29:31 +0000 |
commit | f111f3d32ad5cd2d003c7ee23e036f7173543fdf (patch) | |
tree | cbfe816a3f6c604979bed4c90fb31a954a783a1a | |
parent | c6ac4ec5675c9ec62af7be0f37feac610de6fb1d (diff) | |
download | reset-f111f3d32ad5cd2d003c7ee23e036f7173543fdf.tar.gz |
power: reset: 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: Iefbf2ed13696a112e2504bd31cba3e4c376bf8d7
-rw-r--r-- | exynos-gs201-reboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exynos-gs201-reboot.c b/exynos-gs201-reboot.c index e40ee5e..ee49dde 100644 --- a/exynos-gs201-reboot.c +++ b/exynos-gs201-reboot.c @@ -180,7 +180,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) |