1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

acpi: arm64 doesn't support ACPI 1.0 RSDP, report when we see one

arm64 requires ACPI RSDP Revision 2.0 since it requires 64-bit physical
addresses. It is an error worth reporting if we have a RSDP pointer, but
it points to the wrong version.

Sponsored by:		Netflix
Reviewed by:		andrew
Differential Revision:	https://reviews.freebsd.org/D36404
This commit is contained in:
Warner Losh 2022-09-01 10:38:53 -06:00
parent 75a91c70f8
commit 195f794318

View File

@ -194,6 +194,9 @@ acpi_find_table(const char *sig)
break;
}
acpi_unmap_table(xsdt);
} else {
printf("ACPI: Unsupported RSDP version %d and XSDT %#llx\n",
rsdp->Revision, rsdp->XsdtPhysicalAddress);
}
pmap_unmapbios((vm_offset_t)rsdp, sizeof(ACPI_TABLE_RSDP));