freebsd-src/stand
Kyle Evans e183039f08 loader: lua: assume late ACPI detection if the feature isn't enabled
While we're here, enable the feature in the places we detect ACPI.  This
lets us side-step the existing issues and provide a path forward for
folks upgrading from previous releases that haven't updated their ESP
yet.

Let's also fix core.setACPI: the hint already indicates that the
user's disabled it more consistently than loader.acpi_disabled_by_user.
Even more, the latter is wrong because we set it by default if we did
not detect ACPI.  The ACPI hint remains even when we're setting defaults
because ACPI loaded into the kernel will make some noise if it's not
hinted off, even when we didn't detect it.

imp notes that this will result in some relatively harmless noise on
platforms that don't support ACPI but aren't using the UEFI loader, as
we would enable the ACPI module for loading on them and then loader
would not be able to find it.  These are non-fatal, but should probably
be fixed by just declaring support for EARLY_ACPI in those loaders since
we know they won't have ACPI early on -- punting on this for the time
being, though, in favor of providing a safer upgrade path sooner.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D42727
2023-12-08 15:43:59 -06:00
..
arm64 stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
common stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
defaults Use 115200 bps by default for serial communication 2023-08-17 13:31:38 -04:00
efi loader: lua: assume late ACPI detection if the feature isn't enabled 2023-12-08 15:43:59 -06:00
fdt loader: add target for dirdeps build 2023-11-02 19:35:08 -04:00
ficl loader: add target for dirdeps build 2023-11-02 19:35:08 -04:00
ficl32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
fonts Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
forth stand: Retire setting hw.ata.wc: it doesn't exist. 2023-11-24 11:28:44 -07:00
i386 loader: lua: assume late ACPI detection if the feature isn't enabled 2023-12-08 15:43:59 -06:00
images Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
kboot stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
kshim Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
liblua loader: provide a features table for binary compatibility advertisement 2023-12-08 15:43:19 -06:00
liblua32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
libofw stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
libsa loader: provide a features table for binary compatibility advertisement 2023-12-08 15:43:19 -06:00
libsa32 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
lua loader: lua: assume late ACPI detection if the feature isn't enabled 2023-12-08 15:43:59 -06:00
man loader.efi.8: Fix a typo 2023-11-22 13:25:34 +01:00
powerpc stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
uboot stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
usb Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
userboot stand: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
defs.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
fdt.mk stand: Rename LIBFDT to LIBSAFDT 2023-11-07 09:57:32 -05:00
ficl.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
loader.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
lua.mk Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.amd64 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
veriexec.mk EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00