[Bug 277450] "poweroff" does not power off the system when EFI is used

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 04 Mar 2024 16:30:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277450

--- Comment #9 from Andriy Gapon <avg@FreeBSD.org> ---
When hw.efi.poweroff=1, EFI shutdown routine is invoked much earlier than ACPI,
so ACPI has no play. It seems that the system hangs in the EFI routine instead
of powering off. So it must be a problem with the EFI implementation or
something like that.

FreeBSD EFI shutdown code is extremely simple:
    if ((howto & RB_POWEROFF) != 0 && efi_poweroff)
        (void)efi_reset_system(EFI_RESET_SHUTDOWN);

-- 
You are receiving this mail because:
You are the assignee for the bug.