amd64/efi: Stop falling back to hints for RSDP

All boot loaders for the last 6 years set acpi.rsdp in addition to the
hints. This was planned for removal ~5 years ago. Belatedly remove it
from here.

Sponsored by:		Netflix
Reviewed by:		jhb
Differential Revision:	https://reviews.freebsd.org/D35633
This commit is contained in:
Warner Losh 2022-07-02 08:01:02 -06:00
parent 37a3df3d61
commit 26031009cf

View File

@ -66,16 +66,6 @@ acpi_get_root_from_loader(void)
if (TUNABLE_ULONG_FETCH("acpi.rsdp", &acpi_root))
return (acpi_root);
/*
* The hints mechanism is unreliable (it fails if anybody ever
* compiled in hints to the kernel). It has been replaced
* by the tunable method, but is used here as a fallback to
* retain maximum compatibility between old loaders and new
* kernels. It can be removed after 11.0R.
*/
if (resource_long_value("acpi", 0, "rsdp", &acpi_root) == 0)
return (acpi_root);
return (0);
}