Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
loongarch/reset: use general efi poweroff
Currently efi_shutdown_init can register a general sys_off handler, efi_power_off, which will be called during do_kernel_power_off and shut the machine off via efi runtime services. So enable this by providing efi_poweroff_required, like arm and x86, and prevent directly calling efi.reset_system in machine_power_off. Signed-off-by: Miao Wang <[email protected]>
- Loading branch information