git: 1d9cd7040833 - stable/15 - acpi: Use AcpiGbl_FACS even on ACPI_REDUCED_HARDWARE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Feb 2026 12:29:28 UTC
The branch stable/15 has been updated by olce:
URL: https://cgit.FreeBSD.org/src/commit/?id=1d9cd704083329a9b01d7ccb73999cc9b82ce3a2
commit 1d9cd704083329a9b01d7ccb73999cc9b82ce3a2
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-01-09 09:28:18 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-02-19 12:28:50 +0000
acpi: Use AcpiGbl_FACS even on ACPI_REDUCED_HARDWARE
This has been possible since ACPICA 20240827, and is actually
a requirement to get out of S3 on ACPI_REDUCED_HARDWARE (that said, we
don't implement S3 on arm64 yet).
Relevant ACPICA commit:
https://github.com/acpica/acpica/commit/79cd933e7b370e8d3fb490bf36ca5d111a12f96a.
Reviewed by: obiwac
MFC after: 2 weeks
MFC to: stable/15
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54625
(cherry picked from commit 0cca6277499febef57149e8999ecd1a42ef1dfd3)
---
sys/dev/acpica/acpi.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
index 7d067c880846..04fc8d708a7d 100644
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -647,11 +647,9 @@ acpi_attach(device_t dev)
if (AcpiGbl_FADT.Flags & ACPI_FADT_RESET_REGISTER)
sc->acpi_handle_reboot = 1;
-#if !ACPI_REDUCED_HARDWARE
/* Only enable S4BIOS by default if the FACS says it is available. */
if (AcpiGbl_FACS != NULL && AcpiGbl_FACS->Flags & ACPI_FACS_S4_BIOS_PRESENT)
sc->acpi_s4bios = 1;
-#endif
/* Probe all supported sleep states. */
acpi_sleep_states[ACPI_STATE_S0] = TRUE;