diff options
author | Jiaxun Yang <[email protected]> | 2024-06-14 16:40:16 +0100 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2024-06-21 10:22:10 +0200 |
commit | 4e7ca0b57f3bc09ba3e4ab86bf6b7c35134bfd04 (patch) | |
tree | ac9facdb755e9ba53815b62e63fbeba77e92626e /scripts/bpf_doc.py | |
parent | f4d430db17b4ef4e9c3c352a04b2fe3c93011978 (diff) |
MIPS: Loongson64: reset: Prioritise firmware service
We should always use firmware's poweroff & reboot service
if it's available as firmware may need to perform more task
than platform's syscon etc.
However _machine_restart & poweroff hooks are registered at
low priority, which means platform reboot driver can override
them.
Register firmware based reboot/poweroff implementation with
register_sys_off_handler with appropriate priority so that
they will be prioritised. Remove _machine_halt hook as it's
deemed to be unnecessary.
Cc: [email protected]
Signed-off-by: Jiaxun Yang <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions