Date: Thu, 1 Sep 2022 16:42:19 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 195f794318a3 - main - acpi: arm64 doesn't support ACPI 1.0 RSDP, report when we see one Message-ID: <202209011642.281GgJpG067656@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=195f794318a33ec5bfd109d0e45f34ab583b1f38 commit 195f794318a33ec5bfd109d0e45f34ab583b1f38 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-09-01 16:38:53 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-09-01 16:38:53 +0000 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 --- sys/arm64/acpica/acpi_machdep.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/arm64/acpica/acpi_machdep.c b/sys/arm64/acpica/acpi_machdep.c index 478da9ec49ec..8ce4e521860b 100644 --- a/sys/arm64/acpica/acpi_machdep.c +++ b/sys/arm64/acpica/acpi_machdep.c @@ -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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209011642.281GgJpG067656>