From nobody Thu Sep 1 16:42:19 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MJRfN23Ptz4ZvFN; Thu, 1 Sep 2022 16:42:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MJRfN1L5Vz3Pst; Thu, 1 Sep 2022 16:42:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662050540; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g8jIGt6wAOv2bnsirwsgkuYHlLpwi3/2NrfFga5FRPo=; b=VQwdgugJi6apgQp3vkuKoZAK2ecNOQBZKQJ9rmNakefwQlYEsHwWIEBJTxBBDMejWFNvw6 6HEjlPCh9XDP0UNbEVp62uNTyV96uvLmeAdbwT7lO83MtVihJsBfm++B9aRB0OdyRvKiVb nRQERr22cdxUNH6Dc7spGF0xVLsQ2iEvpXwB0bM+ovaie2/8z2QkHBFtIhINaHF0YrsEYF b+YtuapsBDsywiHXu5ZJCwY97u2HN/TVncU/sS/nEKLVME049OIOEae2iK9B5PGbwBLsWX GnmO9Ud4BD2unMBuItZVKAMG1HCY4m+FcrOQ41oY6LjKCYh74cmqOvdBmWnEDw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MJRfN0N8pzXgd; Thu, 1 Sep 2022 16:42:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 281GgJuB067657; Thu, 1 Sep 2022 16:42:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 281GgJpG067656; Thu, 1 Sep 2022 16:42:19 GMT (envelope-from git) Date: Thu, 1 Sep 2022 16:42:19 GMT Message-Id: <202209011642.281GgJpG067656@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 195f794318a3 - main - acpi: arm64 doesn't support ACPI 1.0 RSDP, report when we see one List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 195f794318a33ec5bfd109d0e45f34ab583b1f38 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662050540; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=g8jIGt6wAOv2bnsirwsgkuYHlLpwi3/2NrfFga5FRPo=; b=dhk3SICSGWwO6gLp/mFGw1ysC7mcvsKrz/CJO0oVJsrdPXZ66zJV2M3n3AufIblYKi3DhS RzTxp2c3FcWTxT5dy6WpWcBc8QpllDqWqSmDoqz7anIfG81PQjLKuoDU8J0OaSgGZ7a3BB ATJBb2e331kzLvdfRGkO/eU7qKd51IC3IlQg0uQjW/xGeUu1GC38k+XEdro+SSi+g70Y+Q TOE2ZklEfPhJPGJcfp/7ITZMSZm4ZC2HkR9hTF2SvWy5We/Y2inLvd4pDh9cRm5bz/vIhv 2/fsMAK7vZd4NSrloIqhAzncDWCb9T0dri65Hp/9iNdWFYhu1JlgYa22ibZlog== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662050540; a=rsa-sha256; cv=none; b=Gi47IamDjcVdMjrd6k2Kdn/7FMDM6fA1z1+ZQj5D9VWbv911Y4EO5FkcCcnEVOmm22tsYX nBlY7/8L9tYaIz2OADSyDCUepYkEKc2Eqku+ODeDhcbsZZBgfghVnblQn6qRCKTilb/yVb vmxVmemE0pVaRU1hv1aT5bKRQRyEnowHV2qyqN66ixrTbReNPkDsxqGkhWneN0K6opQKyU 3vkL1njTqwYm0Srcm652lcxxHUzkwNTybkRhHQxVrgzaBn4HU8t4/ZY+eGgkvGzO6ZzdCS UpkAfXziDTIdMAPMe97w/CUARSih3Jhat62sSfexQ9QXSOQYoSsucTsG9FUjPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=195f794318a33ec5bfd109d0e45f34ab583b1f38 commit 195f794318a33ec5bfd109d0e45f34ab583b1f38 Author: Warner Losh AuthorDate: 2022-09-01 16:38:53 +0000 Commit: Warner Losh 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));